equal
deleted
inserted
replaced
30 if(NOT CMAKE_BUILD_TYPE) |
30 if(NOT CMAKE_BUILD_TYPE) |
31 message("WARNING: CMAKE_BUILD_TYPE is not defined!\n Defaulting to CMAKE_BUILD_TYPE=Release. Use ccmake to set a proper value.") |
31 message("WARNING: CMAKE_BUILD_TYPE is not defined!\n Defaulting to CMAKE_BUILD_TYPE=Release. Use ccmake to set a proper value.") |
32 set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel." FORCE) |
32 set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel." FORCE) |
33 endif(NOT CMAKE_BUILD_TYPE) |
33 endif(NOT CMAKE_BUILD_TYPE) |
34 |
34 |
35 add_subdirectory(src) |
35 # skip source code definitions if just building docs |
36 add_subdirectory(data) |
36 if (NOT KG_DOC_ONLY) |
|
37 add_subdirectory(src) |
|
38 add_subdirectory(data) |
|
39 endif (NOT KG_DOC_ONLY) |
|
40 |
37 add_subdirectory(doc) |
41 add_subdirectory(doc) |
38 |
42 |