Skip to content

Commit e850d7d

Browse files
committed
oak: Add header files to CMakeLists.txt for IDE integration
1 parent 3873fe6 commit e850d7d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

oak/CMakeLists.txt

+5
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,15 @@ find_package(cloe-runtime REQUIRED)
1313
find_package(cppnetlib REQUIRED)
1414
find_package(Boost COMPONENTS headers REQUIRED)
1515

16+
file(GLOB ${target}_PUBLIC_HEADERS "include/**/*.hpp")
1617
add_library(${target}
1718
# find src -type f -name "*.cpp" \! -name "*_test.cpp"
1819
src/oak/registrar.cpp
1920
src/oak/server.cpp
21+
22+
# For IDE integration
23+
${${target}_PUBLIC_HEADERS}
24+
src/oak/request_stub.hpp
2025
)
2126
add_library(${alias} ALIAS ${target})
2227
set_target_linting(${target})

0 commit comments

Comments
 (0)