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.
26 lines
623 B
26 lines
623 B
include_directories("../../CoreLib") |
|
include_directories("../../NucleusLib") |
|
include_directories("../../PubUtilLib") |
|
|
|
set(plUUID_SOURCES |
|
plUUID.cpp |
|
) |
|
|
|
if(WIN32) |
|
set(plUUID_SOURCES ${plUUID_SOURCES} plUUID_Win32.cpp) |
|
else(WIN32) |
|
set(plUUID_SOURCES ${plUUID_SOURCES} plUUID_Unix.cpp) |
|
endif(WIN32) |
|
|
|
set(plUUID_HEADERS |
|
plUUID.h |
|
) |
|
|
|
add_library(plUUID STATIC ${plUUID_SOURCES} ${plUUID_HEADERS}) |
|
target_link_libraries(plUUID pnFactory) |
|
if(NOT WIN32) |
|
target_link_libraries(plUUID uuid) |
|
endif(NOT WIN32) |
|
|
|
source_group("Source Files" FILES ${plUUID_SOURCES}) |
|
source_group("Header Files" FILES ${plUUID_HEADERS})
|
|
|