doom3-bfg/neo/idlib/CMakeLists.txt

18 lines
418 B
Text
Raw Normal View History

2012-11-27 22:23:32 +00:00
add_definitions(-D__IDLIB__ -D__DOOM_DLL__)
file(GLOB_RECURSE ID_INCLUDES *.h)
file(GLOB_RECURSE ID_SOURCES *.cpp)
if(MSVC)
list(REMOVE_ITEM ID_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/sys/posix/posix_thread.cpp)
else()
list(REMOVE_ITEM ID_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/sys/win32/win_thread.cpp)
2012-11-27 22:23:32 +00:00
endif()
#if(STANDALONE)
# add_definitions(-DSTANDALONE)
#endif()
add_library(idlib ${ID_SOURCES} ${ID_INCLUDES})