• Ben Boeckel's avatar
    cmTargetPropCommandBase: check keywords after parsing · 4babc905
    Ben Boeckel authored
    The following was disallowed:
    
       add_library(iface INTERFACE)
       target_link_libraries(iface PUBLIC)
    
    just due to the mention of the `PUBLIC` keyword. Instead, only error if
    there are actually `PUBLIC` dependencies specified (and analogously for
    other restrictions).
    
    Update tests to expect this new behavior.
    4babc905
Name
Last commit
Last update
..
CMakeLists.txt Loading commit data...
RunCMakeTest.cmake Loading commit data...
alias_target-result.txt Loading commit data...
alias_target-stderr.txt Loading commit data...
alias_target.cmake Loading commit data...
cxx_not_enabled-result.txt Loading commit data...
cxx_not_enabled-stderr.txt Loading commit data...
cxx_not_enabled.cmake Loading commit data...
empty.c Loading commit data...
empty.cpp Loading commit data...
empty_keyword_args.cmake Loading commit data...
imported_target-result.txt Loading commit data...
imported_target-stderr.txt Loading commit data...
imported_target.cmake Loading commit data...
invalid_args-result.txt Loading commit data...
invalid_args-stderr.txt Loading commit data...
invalid_args.cmake Loading commit data...
invalid_args_on_interface-result.txt Loading commit data...
invalid_args_on_interface-stderr.txt Loading commit data...
invalid_args_on_interface.cmake Loading commit data...
no_matching_c_feature-result.txt Loading commit data...
no_matching_c_feature-stderr.txt Loading commit data...
no_matching_c_feature.cmake Loading commit data...
no_matching_cxx_feature-result.txt Loading commit data...
no_matching_cxx_feature-stderr.txt Loading commit data...
no_matching_cxx_feature.cmake Loading commit data...
no_target-result.txt Loading commit data...
no_target-stderr.txt Loading commit data...
no_target.cmake Loading commit data...
not_a_c_feature-result.txt Loading commit data...
not_a_c_feature-stderr.txt Loading commit data...
not_a_c_feature.cmake Loading commit data...
not_a_cxx_feature-result.txt Loading commit data...
not_a_cxx_feature-stderr.txt Loading commit data...
not_a_cxx_feature.cmake Loading commit data...
not_enough_args-result.txt Loading commit data...
not_enough_args-stderr.txt Loading commit data...
not_enough_args.cmake Loading commit data...
utility_target-result.txt Loading commit data...
utility_target-stderr.txt Loading commit data...
utility_target.cmake Loading commit data...