1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-01-17 14:28:24 +01:00

Add CMake switch to disable tools

This commit is contained in:
Uwe L. Korn 2014-10-22 12:08:47 +02:00
parent 90dab3c1be
commit 076a806ef1
2 changed files with 4 additions and 1 deletions

View File

@ -55,6 +55,7 @@ tomahawk_add_definitions( "-DQT_STRICT_ITERATORS" )
option(BUILD_GUI "Build Tomahawk with GUI" ON)
option(BUILD_RELEASE "Generate TOMAHAWK_VERSION without GIT info" OFF)
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_WITH_QT4 "Build Tomahawk with Qt4 no matter if Qt5 was found" ON)

View File

@ -23,7 +23,9 @@ add_subdirectory( viewpages )
add_subdirectory( tomahawk )
# tools
add_subdirectory( tools )
if(BUILD_TOOLS)
add_subdirectory( tools )
endif()
if(WITH_CRASHREPORTER)
add_subdirectory( crashreporter )