cmake/tribits/examples/TribitsExampleProject/packages/with_subpackages/c/ShowLibErrors.cmake
raw| 1 | # Define these vars (one at a time) in your input cache to see invalid usage |
| 2 | # checking and the errors and warnings printed! |
| 3 | if (SPKC_SHOW_TESTONLY_DEPLBIS_ERROR) |
| 4 | set(TAL_EXTRALIB_ARGS DEPLIBS b_mixed_lang) |
| 5 | elseif (SPKC_SHOW_TESTONLY_IMPORTEDLIBS_ERROR) |
| 6 | set(TAL_EXTRALIB_ARGS IMPORTEDLIBS b_mixed_lang) |
| 7 | endif() |
| 8 | print_nonempty_var(TAL_EXTRALIB_ARGS) |