Mentions légales du service

Skip to content
Snippets Groups Projects
Commit d19125f8 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

Add a <PACKAGE>_C_FLAGS variable to give CFLAGS such as definitions to users

parent e8c24ef3
No related branches found
No related tags found
No related merge requests found
Loading
  • Contributor

    I suppose this is a fix for #3 (closed) ?
    Why not use the word DEFINITIONS?
    Are there cases among the one handled in this commit where this is not appropriate?

    https://cmake.org/Wiki/CMake:How_To_Find_Libraries#How_package_finding_works

    What command should the user use to handle this variable?

    these ones:
    target_compile_definitions()
    add_definitions()

    or these ones:
    target_compile_options()
    add_compile_options()

    ?

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment