Skip to content

Commit ba729aa

Browse files
authored
Better doxygen generation (#171)
* Add project name and version * logo
1 parent 04d270d commit ba729aa

3 files changed

Lines changed: 16 additions & 7 deletions

File tree

.travis.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff 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
5460
notifications:
5561
email: false

CMakeLists.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,19 @@ include(GNUInstallDirs)
2222
project(
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

3131
set(LIBRARY_OUTPUT_PATH "${CMAKE_BINARY_DIR}/lib")
3232
set(EXECUTABLE_OUTPUT_PATH "${CMAKE_BINARY_DIR}/bin")
3333
set(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"

doc/images/o2_logo.png

12.7 KB
Loading

0 commit comments

Comments
 (0)