mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-23 10:52:38 +01:00
27 lines
524 B
CMake
27 lines
524 B
CMake
FILE(GLOB_RECURSE RENDERWARE_SOURCES "src/*.cpp")
|
|
FILE(GLOB_RECURSE RENDERWARE_HEADERS "include/*.hpp")
|
|
|
|
source_group("Header Files" FILES ${RENDERWARE_HEADERS})
|
|
source_group("Source Files" FILES ${RENDERWARE_SOURCES})
|
|
|
|
add_library(rwengine
|
|
${RENDERWARE_SOURCES}
|
|
${RENDERWARE_HEADERS}
|
|
)
|
|
|
|
target_link_libraries(rwengine
|
|
rwlib
|
|
${MAD_LIBRARY}
|
|
${SFML_LIBRARIES}
|
|
${OPENRW_PLATFORM_LIBS})
|
|
|
|
include_directories(SYSTEM
|
|
${BULLET_INCLUDE_DIR}
|
|
${MAD_INCLUDE_DIR}
|
|
${SFML_INCLUDE_DIR}
|
|
)
|
|
|
|
include_directories(
|
|
include
|
|
)
|