Fix xsd generation in ddsconf
Signed-off-by: Jeroen Koekkoek <jeroen@koekkoek.nl>
This commit is contained in:
parent
93c75186f0
commit
f4e99f41f6
13 changed files with 132 additions and 101 deletions
|
@ -210,8 +210,12 @@ option(BUILD_TESTING "Build the testing tree." OFF)
|
|||
include(CTest)
|
||||
|
||||
option(BUILD_DOCS "Build documentation." OFF)
|
||||
option(BUILD_SCHEMA "Build generated schema for configuration options." OFF)
|
||||
|
||||
if(CMAKE_CROSSCOMPILING)
|
||||
set(not_crosscompiling OFF)
|
||||
else()
|
||||
set(not_crosscompiling ON)
|
||||
endif()
|
||||
option(BUILD_SCHEMA "Build generated schema for configuration options." ${not_crosscompiling})
|
||||
# Build all executables and libraries into the top-level /bin and /lib folders.
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
|
||||
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue