Skip to content

Commit

Permalink
Test headers statically
Browse files Browse the repository at this point in the history
  • Loading branch information
pfultz2 committed Jul 21, 2017
1 parent 768efcb commit 350e2ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ endforeach()
file(GLOB HEADERS include/fit/*.hpp)
foreach(HEADER ${HEADERS})
get_filename_component(BASE_NAME ${HEADER} NAME_WE)
bcm_test_header(NAME ${BASE_NAME} HEADER fit/${BASE_NAME}.hpp)
bcm_test_header(NAME ${BASE_NAME} HEADER fit/${BASE_NAME}.hpp STATIC)
endforeach()
bcm_test_header(NAME fit HEADER fit.hpp)
bcm_test_header(NAME fit HEADER fit.hpp STATIC)

function(extract_doc SOURCE OUTPUTVAR)
file(READ ${SOURCE} CONTENT)
Expand Down

0 comments on commit 350e2ef

Please sign in to comment.