File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,11 +45,17 @@ script:
4545 fi
4646 fi
4747 - if [[ $TOOL == "docs" ]]; then
48- echo "add_subdirectory(doc)" > CMakeLists.txt;
49- mkdir build;
50- cd build;
51- cmake ..;
52- make doc;
48+ echo "cmake_minimum_required(VERSION 3.12)" > CMakeLists.txt-new;
49+ echo "cmake_policy(VERSION 3.12)" >> CMakeLists.txt-new;
50+ cat CMakeLists.txt | awk '/# ---- Project ----/,/# ---- End Project ----/';
51+ cat CMakeLists.txt | awk '/# ---- Project ----/,/# ---- End Project ----/' >> CMakeLists.txt-new;
52+ echo "add_subdirectory(doc)" >> CMakeLists.txt-new;
53+ cat CMakeLists.txt-new;
54+ mv CMakeLists.txt-new CMakeLists.txt;
55+ mkdir build;
56+ cd build;
57+ cmake ..;
58+ make doc;
5359 fi
5460notifications :
5561 email : false
Original file line number Diff line number Diff line change @@ -22,16 +22,19 @@ include(GNUInstallDirs)
2222project (
2323 QualityControl
2424 VERSION
25- 0.12 .0 # TODO update this automatically when there are new releases
25+ 0.13 .0 # TODO update this automatically when there are new releases
2626 DESCRIPTION
27- "O2 Quality Control"
27+ "O2 Data Quality Control Framework "
2828 LANGUAGES CXX
2929)
3030
3131set (LIBRARY_OUTPUT_PATH "${CMAKE_BINARY_DIR } /lib" )
3232set (EXECUTABLE_OUTPUT_PATH "${CMAKE_BINARY_DIR } /bin" )
3333set (INCLUDE_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR } /include" )
3434
35+ # ---- End Project ----
36+ # The line above is necessary for the generation of doxygen by travis
37+
3538# ---- Compilation flags and build options ----
3639
3740# Set the default build type to "RelWithDebInfo"
You can’t perform that action at this time.
0 commit comments