mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 11:10:06 -05:00
ENH: now target names can be used in add_custom_command() and
add_custom_target() as COMMAND, and cmake will recognize them and replace them with the actual output path of these executables. Also the dependency will be added automatically. Test included. ENH: moved TraceVSDependencies() to the end of GlobalGenerator::Configure(), so it is done now in one central place Alex
This commit is contained in:
@@ -84,10 +84,7 @@ private:
|
||||
void AddDSPBuildRule(cmTarget& tgt);
|
||||
void WriteCustomRule(std::ostream& fout,
|
||||
const char* source,
|
||||
const char* command,
|
||||
const char* comment,
|
||||
const std::vector<std::string>& depends,
|
||||
const std::vector<std::string>& outputs,
|
||||
const cmCustomCommand& command,
|
||||
const char* flags);
|
||||
void AddUtilityCommandHack(cmTarget& target, int count,
|
||||
std::vector<std::string>& depends,
|
||||
@@ -95,6 +92,7 @@ private:
|
||||
void WriteGroup(const cmSourceGroup *sg, cmTarget target,
|
||||
std::ostream &fout, const char *libName);
|
||||
std::string CreateTargetRules(cmTarget &target,
|
||||
const char* configName,
|
||||
const char *libName);
|
||||
void ComputeLinkOptions(cmTarget& target, const char* configName,
|
||||
const std::string extraOptions,
|
||||
|
||||
Reference in New Issue
Block a user