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