Skip to content

Commit

Permalink
#128 Add checks for *.inl headers in ureact_self_contained_headers_test
Browse files Browse the repository at this point in the history
  • Loading branch information
YarikTH committed Aug 26, 2023
1 parent d79b7f8 commit 89c0866
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tests/self_contained/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,16 @@ add_executable(ureact_self_contained_headers_test main.cpp)

function(ureact_setup_self_contained_test_sources)
file(
GLOB_RECURSE ureact_headers
GLOB_RECURSE ureact_headers_hpp
RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}/../../include"
"../../include/ureact/*.hpp"
)
foreach(header IN LISTS ureact_headers)
file(
GLOB_RECURSE ureact_headers_inl
RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}/../../include"
"../../include/ureact/*.inl"
)
foreach(header IN LISTS ureact_headers_hpp ureact_headers_inl)
string(MAKE_C_IDENTIFIER "${header}" _out)
set(src_filename
"${CMAKE_CURRENT_BINARY_DIR}/check_if_${_out}_self_contained.cpp"
Expand Down

0 comments on commit 89c0866

Please sign in to comment.