mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 03:10:12 +02:00
Build all subdirs of src/ automatically
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
setup_qt()
|
||||
|
||||
add_subdirectory( libtomahawk )
|
||||
|
||||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/libtomahawk )
|
||||
include_directories( ${CMAKE_CURRENT_LIST_DIR}/libtomahawk )
|
||||
|
||||
add_subdirectory( tomahawk )
|
||||
file(GLOB SUBDIRECTORIES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*")
|
||||
|
||||
add_subdirectory( breakpad/CrashReporter/ )
|
||||
|
||||
add_subdirectory( accounts )
|
||||
add_subdirectory( infoplugins )
|
||||
foreach(SUBDIRECTORY ${SUBDIRECTORIES})
|
||||
if(IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/${SUBDIRECTORY}" AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${SUBDIRECTORY}/CMakeLists.txt")
|
||||
message(STATUS "build: " ${SUBDIRECTORY})
|
||||
add_subdirectory( ${SUBDIRECTORY} )
|
||||
endif()
|
||||
endforeach()
|
||||
|
@@ -1,3 +1,5 @@
|
||||
include( ${CMAKE_CURRENT_LIST_DIR}/../../TomahawkAddPlugin.cmake )
|
||||
|
||||
add_subdirectory( generic )
|
||||
|
||||
if(UNIX AND NOT APPLE)
|
||||
|
Reference in New Issue
Block a user