File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
add_library (CatCutifier "CatCutifier.cpp" "CatCutifier.h" )
2
+ target_include_directories (CatCutifier PUBLIC .)
2
3
3
4
# Should install library properly here, but I'm focusing on just the docs
Original file line number Diff line number Diff line change 1
1
find_package (Doxygen REQUIRED)
2
2
find_package (Sphinx REQUIRED)
3
3
4
- # The list of headers which we are documenting
5
- set (CAT_CUTIFIER_PUBLIC_HEADERS ${PROJECT_SOURCE_DIR} /CatCutifier/CatCutifier.h)
4
+ # Find all the public headers
5
+ get_target_property (CAT_CUTIFIER_PUBLIC_HEADER_DIR CatCutifier INTERFACE_INCLUDE_DIRECTORIES )
6
+ file (GLOB_RECURSE CAT_CUTIFIER_PUBLIC_HEADERS
7
+ ${CAT_CUTIFIER_PUBLIC_HEADER_DIR} /*.h)
6
8
7
9
set (DOXYGEN_INPUT_DIR ${PROJECT_SOURCE_DIR} /CatCutifier)
8
10
set (DOXYGEN_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR} /doxygen)
You can’t perform that action at this time.
0 commit comments