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.
|
|
|
include_directories("../../CoreLib")
|
|
|
|
include_directories("../../NucleusLib")
|
|
|
|
|
|
|
|
set(pnUUID_SOURCES
|
|
|
|
pnUUID.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
if(WIN32)
|
|
|
|
set(pnUUID_SOURCES ${pnUUID_SOURCES} pnUUID_Win32.cpp)
|
|
|
|
endif(WIN32)
|
|
|
|
|
|
|
|
if(UNIX)
|
|
|
|
set(pnUUID_SOURCES ${pnUUID_SOURCES} pnUUID_Unix.cpp)
|
|
|
|
endif(UNIX)
|
|
|
|
|
|
|
|
set(pnUUID_HEADERS
|
|
|
|
pnUUID.h
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library(pnUUID STATIC ${pnUUID_SOURCES} ${pnUUID_HEADERS})
|
|
|
|
target_link_libraries(pnUUID CoreLib)
|
|
|
|
if(WIN32)
|
|
|
|
target_link_libraries(pnUUID pnUtils)
|
|
|
|
target_link_libraries(pnUUID Rpcrt4)
|
|
|
|
else(WIN32)
|
|
|
|
target_link_libraries(pnUUID uuid)
|
|
|
|
endif(WIN32)
|
|
|
|
|
|
|
|
source_group("Source Files" FILES ${pnUUID_SOURCES})
|
|
|
|
source_group("Header Files" FILES ${pnUUID_HEADERS})
|