You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

82 lines
1.5 KiB

include_directories("../../CoreLib")
include_directories("../../NucleusLib")
set(pnUtils_HEADERS
Pch.h
pnUtils.h
pnUtCoreLib.h
pnUtAddr.h
pnUtAllIncludes.h
pnUtArray.h
pnUtBase64.h
pnUtBigNum.h
pnUtCmd.h
pnUtCrypt.h
pnUtHash.h
pnUtList.h
pnUtMath.h
pnUtMisc.h
pnUtPath.h
pnUtPragma.h
pnUtPriQ.h
pnUtRand.h
pnUtRef.h
pnUtSkipList.h
pnUtSort.h
pnUtSpareList.h
pnUtStr.h
pnUtSync.h
pnUtTime.h
pnUtTls.h
pnUtUuid.h
)
set(pnUtils_SOURCES
pnUtAddr.cpp
pnUtArray.cpp
pnUtBase64.cpp
pnUtBigNum.cpp
pnUtCmd.cpp
pnUtHash.cpp
pnUtList.cpp
pnUtMath.cpp
pnUtMisc.cpp
pnUtPath.cpp
pnUtRand.cpp
pnUtSpareList.cpp
pnUtStr.cpp
pnUtTime.cpp
)
if(WIN32)
set(pnUtils_WIN32
Win32/pnUtW32Addr.cpp
Win32/pnUtW32Misc.cpp
Win32/pnUtW32Path.cpp
Win32/pnUtW32Str.cpp
Win32/pnUtW32Sync.cpp
Win32/pnUtW32Time.cpp
Win32/pnUtW32Uuid.cpp
pnUtCrypt.cpp
pnUtTls.cpp
pnUtUuid.cpp
)
else()
set(pnUtils_UNIX
Unix/pnUtUxStr.cpp
#Unix/pnUtUxSync.cpp
#Unix/pnUtUxUuid.cpp
)
endif()
add_library(pnUtils STATIC ${pnUtils_HEADERS} ${pnUtils_SOURCES}
${pnUtils_UNIX} ${pnUtils_WIN32})
source_group("Header Files" FILES ${pnUtils_HEADERS})
source_group("Source Files" FILES ${pnUtils_SOURCES})
if(WIN32)
source_group("Win32" FILES ${pnUtils_WIN32})
else()
source_group("Unix" FILES ${pnUtils_UNIX})
endif()