missing CMakeLists.txt on previous commit
This commit is contained in:
26
qad/libs/CMakeLists.txt
Normal file
26
qad/libs/CMakeLists.txt
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
set(DIRS)
|
||||||
|
file(GLOB _dl "[^.]*")
|
||||||
|
foreach(_D ${_dl})
|
||||||
|
if(IS_DIRECTORY ${_D})
|
||||||
|
list(APPEND DIRS ${_D})
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
set(qad_includes)
|
||||||
|
foreach(_D ${DIRS})
|
||||||
|
get_filename_component(_dname "${_D}" NAME)
|
||||||
|
list(APPEND QT_MULTILIB_LIST qad_${_dname})
|
||||||
|
list(APPEND qad_includes "${_D}")
|
||||||
|
endforeach()
|
||||||
|
set(QT_MULTILIB_LIST ${QT_MULTILIB_LIST} PARENT_SCOPE)
|
||||||
|
set(qad_includes ${qad_includes} PARENT_SCOPE)
|
||||||
|
foreach(_D ${DIRS})
|
||||||
|
include_directories(${_D})
|
||||||
|
endforeach()
|
||||||
|
foreach(_D ${DIRS})
|
||||||
|
add_subdirectory(${_D})
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
if (LIB)
|
||||||
|
set(_ALL_TARGETS ${_ALL_TARGETS} PARENT_SCOPE)
|
||||||
|
endif()
|
||||||
11
qad/utils/CMakeLists.txt
Normal file
11
qad/utils/CMakeLists.txt
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
include_directories(${qad_includes})
|
||||||
|
file(GLOB _dl "[^.]*")
|
||||||
|
foreach(_D ${_dl})
|
||||||
|
if(IS_DIRECTORY ${_D})
|
||||||
|
add_subdirectory(${_D})
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
if (LIB)
|
||||||
|
set(_ALL_TARGETS ${_ALL_TARGETS} PARENT_SCOPE)
|
||||||
|
endif()
|
||||||
Reference in New Issue
Block a user