BUG: Fixed ordering of multiple commands in a custom target when implemented as custom commands. Also added support to execute pre-build rules first to be consistent with makefile generator.

This commit is contained in:
Brad King
2005-04-26 11:08:18 -04:00
parent 2b05a503e4
commit 15c7d45ecd
2 changed files with 76 additions and 26 deletions

View File

@@ -87,6 +87,9 @@ private:
const std::vector<std::string>& depends,
const char* output,
const char* flags);
void AddUtilityCommandHack(cmTarget& target, int count,
std::vector<std::string>& depends,
const cmCustomCommandLines& commandLines);
std::string CreateTargetRules(const cmTarget &target,
const char *libName);