|
@@ -102,11 +102,9 @@ endforeach ()
|
|
|
|
|
|
|
|
# Define source files
|
|
# Define source files
|
|
|
set (SOURCES Audio Container Core Engine Graphics Input IO Math Navigation Network Physics Resource Scene UI)
|
|
set (SOURCES Audio Container Core Engine Graphics Input IO Math Navigation Network Physics Resource Scene UI)
|
|
|
-
|
|
|
|
|
if (ENABLE_ANGELSCRIPT)
|
|
if (ENABLE_ANGELSCRIPT)
|
|
|
- set (SOURCES ${SOURCES} Script)
|
|
|
|
|
|
|
+ list (APPEND SOURCES Script)
|
|
|
endif ()
|
|
endif ()
|
|
|
-
|
|
|
|
|
foreach (SOURCE ${SOURCES})
|
|
foreach (SOURCE ${SOURCES})
|
|
|
add_subdirectory (${SOURCE})
|
|
add_subdirectory (${SOURCE})
|
|
|
install (DIRECTORY ${SOURCE}/ DESTINATION ${DEST_INCLUDE_DIR} USE_SOURCE_PERMISSIONS FILES_MATCHING PATTERN *.h) # Note: the trailing slash is significant
|
|
install (DIRECTORY ${SOURCE}/ DESTINATION ${DEST_INCLUDE_DIR} USE_SOURCE_PERMISSIONS FILES_MATCHING PATTERN *.h) # Note: the trailing slash is significant
|