mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
GHS: use INSTALL target
For consistancy use upper case install for pre-defined targets.
This commit is contained in:
@@ -81,8 +81,6 @@ public:
|
||||
// Write the common disclaimer text at the top of each build file.
|
||||
void WriteFileHeader(std::ostream& fout);
|
||||
|
||||
const char* GetInstallTargetName() const override { return "install"; }
|
||||
|
||||
protected:
|
||||
void Generate() override;
|
||||
std::vector<GeneratedMakeCommand> GenerateBuildCommand(
|
||||
|
||||
@@ -2319,7 +2319,7 @@ if(BUILD_TESTING)
|
||||
endmacro()
|
||||
macro(add_test_GhsMulti_rename_install test_name)
|
||||
add_test_GhsMulti( ${test_name} GhsMultiRenameInstall ${test_name}
|
||||
"-DCMAKE_INSTALL_PREFIX=. -DRUN_TEST=${test_name}" ${CMAKE_CMAKE_COMMAND} --build . --target install)
|
||||
"-DCMAKE_INSTALL_PREFIX=. -DRUN_TEST=${test_name}" ${CMAKE_CMAKE_COMMAND} --build . --target INSTALL)
|
||||
endmacro()
|
||||
#unset ghs config variables
|
||||
unset(ghs_config_name)
|
||||
|
||||
Reference in New Issue
Block a user