MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0006242 | CMake | CMake | public | 2008-01-14 17:52 | 2012-09-03 16:00 | |||||
Reporter | Luke K | |||||||||
Assigned To | Brad King | |||||||||
Priority | normal | Severity | feature | Reproducibility | always | |||||
Status | closed | Resolution | duplicate | |||||||
Platform | OS | OS Version | ||||||||
Product Version | ||||||||||
Target Version | Fixed in Version | |||||||||
Summary | 0006242: ADD_CUSTOM_COMMAND needs CONFIGURATIONS keyword for Visual Studio post-builds | |||||||||
Description | Hi, Our whole software team has just recently decided to move to CMake for our unified build system. We are encountering an annoying problem in Visual Studio 7.1 .NET 2003 where we want to have a different post-build command run depending on the project configuration, specifically to copy our newly built executable from the build area to the runtime location. We would like to have a separate runtime location for Debug and Release configurations, since each have different runtime dependencies (notably Debug configuration uses DLLs with 'd' suffix, among other files), and the executable name should also be different for Debug and Release (Debug executable has 'd' indicator). Here is basically the CMake command we are using now: Add_Custom_Command(TARGET "${PROJECT}" POST_BUILD COMMAND "${command}" ARGS ${argumentList}) It would be AWESOME if we could use a command like this: Add_Custom_Command(TARGET "${PROJECT}" POST_BUILD CONFIGURATIONS ${configuration} COMMAND "${command}" ARGS ${argumentList}) which would be similar to the Install command. This is not a problem for our NMake or Codeblocks/Unix-based makefiles, because those makefiles are target-based, not based on project configuration. Your help and contributions are greatly appreciated :-D Luke | |||||||||
Steps To Reproduce | ||||||||||
Additional Information | We appreciate all the hard work you have contributed to keep CMake updated and the users of CMake satisfied. Keep up the good work! Luke Columbus, Ohio Go bucks! | |||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2008-01-14 17:52 | Luke K | New Issue | ||||||||
2008-01-14 19:21 | Alex Neundorf | Category | CCMake => CMake | |||||||
2008-01-14 21:19 | Bill Hoffman | Status | new => assigned | |||||||
2008-01-14 21:19 | Bill Hoffman | Assigned To | => David Cole | |||||||
2009-12-28 15:38 | David Cole | Assigned To | David Cole => Brad King | |||||||
2010-01-04 10:28 | Brad King | Note Added: 0019020 | ||||||||
2012-03-09 14:41 | Brad King | Note Added: 0028883 | ||||||||
2012-03-09 14:41 | Brad King | Relationship added | duplicate of 0009974 | |||||||
2012-03-09 14:41 | Brad King | Status | assigned => resolved | |||||||
2012-03-09 14:41 | Brad King | Resolution | open => duplicate | |||||||
2012-09-03 16:00 | David Cole | Note Added: 0030832 | ||||||||
2012-09-03 16:00 | David Cole | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|