Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make fff installable #126

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Aug 17, 2023

  1. Make fff installable

    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.
    stephan-cr committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    06d4721 View commit details
    Browse the repository at this point in the history