diff options
author | Alexander Grund <alexander.grund@tu-dresden.de> | 2019-12-09 11:48:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-12-09 16:37:37 (GMT) |
commit | 8c7b7df788851358392e4a00faf00bc2a674c3a6 (patch) | |
tree | 659399ca00312f51791d858ea32a3820661c6b73 | |
parent | 1b4482f65dd41f21ec8abc0777b8dc1f0381bbd6 (diff) | |
download | CMake-8c7b7df788851358392e4a00faf00bc2a674c3a6.zip CMake-8c7b7df788851358392e4a00faf00bc2a674c3a6.tar.gz CMake-8c7b7df788851358392e4a00faf00bc2a674c3a6.tar.bz2 |
bootstrap: Add target_link_options command
-rw-r--r-- | Source/cmCommands.cxx | 4 | ||||
-rwxr-xr-x | bootstrap | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx index ff73b27..6f19697 100644 --- a/Source/cmCommands.cxx +++ b/Source/cmCommands.cxx @@ -78,6 +78,7 @@ #include "cmTargetCompileOptionsCommand.h" #include "cmTargetIncludeDirectoriesCommand.h" #include "cmTargetLinkLibrariesCommand.h" +#include "cmTargetLinkOptionsCommand.h" #include "cmTargetPrecompileHeadersCommand.h" #include "cmTargetSourcesCommand.h" #include "cmTryCompileCommand.h" @@ -107,7 +108,6 @@ # include "cmSourceGroupCommand.h" # include "cmSubdirDependsCommand.h" # include "cmTargetLinkDirectoriesCommand.h" -# include "cmTargetLinkOptionsCommand.h" # include "cmUseMangledMesaCommand.h" # include "cmUtilitySourceCommand.h" # include "cmVariableRequiresCommand.h" @@ -256,6 +256,7 @@ void GetProjectCommands(cmState* state) cmTargetIncludeDirectoriesCommand); state->AddBuiltinCommand("target_link_libraries", cmTargetLinkLibrariesCommand); + state->AddBuiltinCommand("target_link_options", cmTargetLinkOptionsCommand); state->AddBuiltinCommand("target_sources", cmTargetSourcesCommand); state->AddBuiltinCommand("try_compile", cm::make_unique<cmTryCompileCommand>()); @@ -276,7 +277,6 @@ void GetProjectCommands(cmState* state) state->AddBuiltinCommand("install_programs", cmInstallProgramsCommand); state->AddBuiltinCommand("add_link_options", cmAddLinkOptionsCommand); state->AddBuiltinCommand("link_libraries", cmLinkLibrariesCommand); - state->AddBuiltinCommand("target_link_options", cmTargetLinkOptionsCommand); state->AddBuiltinCommand("target_link_directories", cmTargetLinkDirectoriesCommand); state->AddBuiltinCommand("load_cache", cmLoadCacheCommand); @@ -435,6 +435,7 @@ CMAKE_CXX_SOURCES="\ cmTargetCompileOptionsCommand \ cmTargetIncludeDirectoriesCommand \ cmTargetLinkLibrariesCommand \ + cmTargetLinkOptionsCommand \ cmTargetPrecompileHeadersCommand \ cmTargetPropCommandBase \ cmTargetPropertyComputer \ |