-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit make fff installable, via `cmake --install <build-dir> --prefix <some-install-prefix>` for example. During installation, imported targets are created, such that users are able to fff like this: ```cmake find_package(fff REQUIRED) add_executable(some_test some_test.ccp) target_link_libraries(some_test PRIVATE fff::fff) ´´´ This won't affect users who embed fff in their source trees, Furthermore, if `FFF_GENERATE` is enable, fff.h is generated into the build folder, instead of overwriting the pre-generated fff.h.
- Loading branch information
1 parent
5111c61
commit 06d4721
Showing
2 changed files
with
32 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include("${CMAKE_CURRENT_LIST_DIR}/fffTargets.cmake") |