33 list(APPEND IRREXAMPLES 14.Win32Window)
36 list(APPEND IRREXAMPLES AutomatedTest)
39 foreach(exname IN ITEMS ${IRREXAMPLES})
40 file(GLOB sources "${CMAKE_CURRENT_SOURCE_DIR}/${exname}/*.cpp")
41 add_executable(${exname} ${sources})
43 target_include_directories(${exname} PRIVATE
44 ${CMAKE_SOURCE_DIR}/include
45 ${CMAKE_CURRENT_SOURCE_DIR}/${exname}
47 target_link_libraries(${exname} IrrlichtMt)