add a cmake option WITH_TOOLS

This commit is contained in:
alex85k 2014-06-03 18:38:33 +06:00
parent 6a29168c14
commit baf4ea2e8c

View File

@ -16,6 +16,8 @@ else()
message(WARNING "Building on a 32 bit system is unsupported") message(WARNING "Building on a 32 bit system is unsupported")
endif() endif()
OPTION(WITH_TOOLS "Build ORSM tools" OFF)
include_directories(${CMAKE_SOURCE_DIR}/Include/) include_directories(${CMAKE_SOURCE_DIR}/Include/)
add_custom_command(OUTPUT ${CMAKE_SOURCE_DIR}/Util/UUID.cpp UUID.cpp.alwaysbuild add_custom_command(OUTPUT ${CMAKE_SOURCE_DIR}/Util/UUID.cpp UUID.cpp.alwaysbuild