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:
parent
90dab3c1be
commit
076a806ef1
@ -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)
|
||||
|
||||
|
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user