1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-07 19:32:49 +01:00
openrw/rwengine/CMakeLists.txt

30 lines
593 B
CMake
Raw Normal View History

FILE(GLOB_RECURSE RENDERWARE_SOURCES "src/*.cpp")
2013-09-09 01:18:36 +02:00
FILE(GLOB_RECURSE RENDERWARE_HEADERS "include/*.hpp")
2013-09-09 01:18:36 +02:00
source_group("Header Files" FILES ${RENDERWARE_HEADERS})
source_group("Source Files" FILES ${RENDERWARE_SOURCES})
2014-01-26 04:45:55 +01:00
add_library(rwengine
${RENDERWARE_SOURCES}
${RENDERWARE_HEADERS}
2013-07-02 08:06:03 +02:00
)
target_link_libraries(rwengine
rwlib
${MAD_LIBRARY}
2016-05-24 19:49:19 +02:00
${LIBSNDFILE_LIBRARY}
${OPENAL_LIBRARY}
${OPENRW_PLATFORM_LIBS}
2016-06-22 23:28:05 +02:00
${SDL2_LIBRARY})
2016-04-28 01:54:42 +02:00
include_directories(SYSTEM
${BULLET_INCLUDE_DIR}
${MAD_INCLUDE_DIR}
2016-05-24 19:49:19 +02:00
${LIBSNDFILE_INCLUDE_DIR}
${OPENAL_INCLUDE_DIR}
2016-04-28 01:54:42 +02:00
)
include_directories(
include
)