File tree 4 files changed +14
-25
lines changed
4 files changed +14
-25
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ INCLUDE(cmake/buildFiles.cmake REQUIRED)
12
12
13
13
ADD_SUBDIRECTORY (src)
14
14
ADD_SUBDIRECTORY (tests)
15
- # ADD_SUBDIRECTORY(utils)
15
+ ADD_SUBDIRECTORY (utils)
16
16
17
17
INCLUDE (cmake/printInfo.cmake REQUIRED)
18
18
Original file line number Diff line number Diff line change @@ -24,13 +24,14 @@ OPTION(ENABLE_COVERAGE_XML "Perform code coverage in XML for jenkins integration
24
24
25
25
OPTION (BUILD_SHARED_LIBS "Build shared libraries" ON )
26
26
OPTION (BUILD_TESTS "Build unitary & integration tests with gtest" OFF )
27
-
28
- OPTION (INSTALL_DOC "Install documentation in system" OFF )
29
- OPTION (DOXY_COVERAGE "Generate text file with the doxygen coverage" OFF )
30
- OPTION (USE_MATHJAX "Generate doc-formulas via mathjax instead of latex" OFF )
31
- OPTION (USE_DOT "Diagram generation with graphviz" ON )
32
- OPTION (USE_LATEX "Build latex documentation" OFF )
33
- OPTION (USE_CHM "Build CHM Windows documentation" OFF )
27
+ OPTION (BUILD_UTILS "Build utilities & applications" OFF )
28
+
29
+ OPTION (INSTALL_DOC "Install documentation in system" OFF )
30
+ OPTION (DOXY_COVERAGE "Generate text file with the doxygen coverage" OFF )
31
+ OPTION (USE_MATHJAX "Generate doc-formulas via mathjax instead of latex" OFF )
32
+ OPTION (USE_DOT "Diagram generation with graphviz" ON )
33
+ OPTION (USE_LATEX "Build latex documentation" OFF )
34
+ OPTION (USE_CHM "Build CHM Windows documentation" OFF )
34
35
35
36
# ----------------------------------------------------------------------------
36
37
# Code coverage
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ MESSAGE( STATUS )
17
17
MESSAGE ( STATUS "USE_CLANG = ${USE_CLANG} " )
18
18
MESSAGE ( STATUS "BUILD_SHARED_LIBS = ${BUILD_SHARED_LIBS} " )
19
19
MESSAGE ( STATUS "BUILD_TESTS = ${BUILD_TESTS} " )
20
+ MESSAGE ( STATUS "BUILD_UTILS = ${BUILD_UTILS} " )
20
21
MESSAGE ( STATUS "WARNINGS_ANSI_ISO = ${WARNINGS_ANSI_ISO} " )
21
22
MESSAGE ( STATUS "WARNINGS_ARE_ERRORS = ${WARNINGS_ARE_ERRORS} " )
22
23
MESSAGE ( STATUS "CMAKE_SYSTEM_PROCESSOR = ${CMAKE_SYSTEM_PROCESSOR} " )
Original file line number Diff line number Diff line change 1
- IF (BUILD_TESTS)
2
-
3
- IF (NOT GTEST_FOUND)
4
- MESSAGE (WARNING "GTest is not installed in your system so tests can't be compiled" )
5
- ELSE ()
6
-
7
- INCLUDE_DIRECTORIES (${PROJECT_SOURCE_DIR} /include )
8
- INCLUDE_DIRECTORIES (SYSTEM ${GTEST_INCLUDE_DIRS} )
9
- LINK_LIBRARIES (${ARGTABLE} ${GTEST_BOTH_LIBRARIES} ${PROJECT_NAME} )
10
-
11
- ADD_EXECUTABLE (tests tests_main.cpp)
12
-
13
- ADD_CUSTOM_TARGET (tests_xml COMMAND tests --xml --gtest_output=xml
14
- WORKING_DIRECTORY ${CMAKE_BINARY_DIR} )
15
- ENDIF ()
16
-
17
- ENDIF ()
1
+ if (BUILD_UTILS)
18
2
3
+ add_executable (xml_join xml_join.cpp)
4
+ target_link_libraries (xml_join ${PROJECT_NAME} )
19
5
6
+ endif ()
You can’t perform that action at this time.
0 commit comments