]> git.lizzy.rs Git - irrlicht.git/blob - examples/CMakeLists.txt
Add back LightManager
[irrlicht.git] / examples / CMakeLists.txt
1 set(CMAKE_CXX_STANDARD 11)
2 set(CMAKE_CXX_STANDARD_REQUIRED ON)
3
4 set(IRREXAMPLES
5         # removed
6 )
7 if(UNIX)
8         list(APPEND IRREXAMPLES AutomatedTest)
9 endif()
10
11 foreach(exname IN ITEMS ${IRREXAMPLES})
12         file(GLOB sources "${CMAKE_CURRENT_SOURCE_DIR}/${exname}/*.cpp")
13         add_executable(${exname} ${sources})
14
15         target_include_directories(${exname} PRIVATE
16                 ${CMAKE_SOURCE_DIR}/include
17                 ${CMAKE_CURRENT_SOURCE_DIR}/${exname}
18         )
19         target_link_libraries(${exname} IrrlichtMt)
20 endforeach()