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.
42 lines
969 B
42 lines
969 B
14 years ago
|
include_directories("../../CoreLib")
|
||
|
include_directories("../../NucleusLib")
|
||
|
include_directories("../../PubUtilLib")
|
||
|
|
||
|
include_directories(${ZLIB_INCLUDE_DIR})
|
||
|
|
||
|
set(plFile_SOURCES
|
||
|
hsFiles.cpp
|
||
|
plBrowseFolder.cpp
|
||
|
plEncryptedStream.cpp
|
||
|
plFileUtils.cpp
|
||
|
plInitFileReader.cpp
|
||
|
plSecureStream.cpp
|
||
|
plStreamSource.cpp
|
||
|
)
|
||
|
|
||
|
if(WIN32)
|
||
|
set(plFile_SOURCES ${plFile_SOURCES} hsFiles_Win.cpp)
|
||
|
elseif(APPLE)
|
||
|
set(plFile_SOURCES "${plFile_SOURCES} hsFiles_Mac.cpp")
|
||
|
#elseif(PS2)
|
||
|
# set(plFile_SOURCES "${plFile_SOURCES} hsFiles_PS2.cpp")
|
||
|
else(WIN32)
|
||
|
set(plFile_SOURCES "${plFile_SOURCES} hsFiles_Unix.cpp")
|
||
|
endif(WIN32)
|
||
|
|
||
|
set(plFile_HEADERS
|
||
|
hsFiles.h
|
||
|
plBrowseFolder.h
|
||
|
plEncryptedStream.h
|
||
|
plFileUtils.h
|
||
|
plInitFileReader.h
|
||
|
plSecureStream.h
|
||
|
plStreamSource.h
|
||
|
)
|
||
|
|
||
|
add_library(plFile STATIC ${plFile_SOURCES} ${plFile_HEADERS})
|
||
|
target_link_libraries(plFile ${ZLIB_LIBRARIES})
|
||
|
|
||
|
source_group("Source Files" FILES ${plFile_SOURCES})
|
||
|
source_group("Header Files" FILES ${plFile_HEADERS})
|