You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The headers won't be added to IDE projects though. I think it's worth doing though, if fips detects that there are no source files in a library (only headers), it could create such a interface library (I need to check whether the cmake version requirement isn't too harsh though, I wanted to use such "empty targets" before, and add all sources with target_sources(), but this feature required a really recent cmake version.
floooh
changed the title
is there a way to do header only libs with fips_begin_lib?
Support header-only (interface) targets
May 22, 2019
similar to this cmake setup:
add_library(lib1 INTERFACE)
target_sources(lib1 INTERFACE header_file.h)
target_include_directories(lib1 INTERFACE .)
The text was updated successfully, but these errors were encountered: