mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
Add CMake switch to disable tools
This commit is contained in:
@@ -55,6 +55,7 @@ tomahawk_add_definitions( "-DQT_STRICT_ITERATORS" )
|
|||||||
option(BUILD_GUI "Build Tomahawk with GUI" ON)
|
option(BUILD_GUI "Build Tomahawk with GUI" ON)
|
||||||
option(BUILD_RELEASE "Generate TOMAHAWK_VERSION without GIT info" OFF)
|
option(BUILD_RELEASE "Generate TOMAHAWK_VERSION without GIT info" OFF)
|
||||||
option(BUILD_TESTS "Build Tomahawk with unit tests" ON)
|
option(BUILD_TESTS "Build Tomahawk with unit tests" ON)
|
||||||
|
option(BUILD_TOOLS "Build Tomahawk helper tools" ON)
|
||||||
option(BUILD_HATCHET "Build the Hatchet plugin" OFF)
|
option(BUILD_HATCHET "Build the Hatchet plugin" OFF)
|
||||||
option(BUILD_WITH_QT4 "Build Tomahawk with Qt4 no matter if Qt5 was found" ON)
|
option(BUILD_WITH_QT4 "Build Tomahawk with Qt4 no matter if Qt5 was found" ON)
|
||||||
|
|
||||||
|
@@ -23,7 +23,9 @@ add_subdirectory( viewpages )
|
|||||||
add_subdirectory( tomahawk )
|
add_subdirectory( tomahawk )
|
||||||
|
|
||||||
# tools
|
# tools
|
||||||
add_subdirectory( tools )
|
if(BUILD_TOOLS)
|
||||||
|
add_subdirectory( tools )
|
||||||
|
endif()
|
||||||
|
|
||||||
if(WITH_CRASHREPORTER)
|
if(WITH_CRASHREPORTER)
|
||||||
add_subdirectory( crashreporter )
|
add_subdirectory( crashreporter )
|
||||||
|
Reference in New Issue
Block a user