mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Copy irrlichtmt to <root>/irr/
This commit is contained in:
parent
a7908da968
commit
f638482fba
349 changed files with 109124 additions and 0 deletions
17
irr/examples/CMakeLists.txt
Normal file
17
irr/examples/CMakeLists.txt
Normal file
|
@ -0,0 +1,17 @@
|
|||
set(IRREXAMPLES
|
||||
# removed
|
||||
)
|
||||
if(UNIX)
|
||||
list(APPEND IRREXAMPLES AutomatedTest)
|
||||
endif()
|
||||
|
||||
foreach(exname IN ITEMS ${IRREXAMPLES})
|
||||
file(GLOB sources "${CMAKE_CURRENT_SOURCE_DIR}/${exname}/*.cpp")
|
||||
add_executable(${exname} ${sources})
|
||||
|
||||
target_include_directories(${exname} PRIVATE
|
||||
${CMAKE_SOURCE_DIR}/include
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/${exname}
|
||||
)
|
||||
target_link_libraries(${exname} IrrlichtMt)
|
||||
endforeach()
|
Loading…
Add table
Add a link
Reference in a new issue