MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0011713 | CMake | CMake | public | 2011-01-17 10:26 | 2011-01-17 10:56 |
| Reporter | Galeazzi | ||||
| Assigned To | Brad King | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Platform | PC | OS | Windows XP | OS Version | |
| Product Version | CMake 2.8.3 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0011713: add_custom_command is not invoked | ||||
| Description | I use the add_custom_command function in order to increment the build number. It seems that add_custom_command is never invoked in the build process. | ||||
| Steps To Reproduce | You just unzip the attached file and generate a mingw makefiles or VS solution. You can also change the following line in order to fit them with your paths: add_custom_command(OUTPUT ./BuildNumber.h COMMAND "java" ARGS "-jar" "c:\\Tools\\Updater\\BuildNumberUpdater.jar" "M:\\ProvaCMake\\HelloExec\\BuildNumber.h" DEPENDS ${SOURCES} COMMENT "Changing the build number") | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/3636/CMakeBug.rar https://public.kitware.com/Bug/file/3637/add_custom_ok.zip | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2011-01-17 10:26 | Galeazzi | New Issue | |||
| 2011-01-17 10:26 | Galeazzi | File Added: CMakeBug.rar | |||
| 2011-01-17 10:31 | Galeazzi | Note Added: 0024752 | |||
| 2011-01-17 10:44 | Eric NOULARD | File Added: add_custom_ok.zip | |||
| 2011-01-17 10:50 | Eric NOULARD | Note Added: 0024754 | |||
| 2011-01-17 10:56 | Brad King | Note Added: 0024755 | |||
| 2011-01-17 10:56 | Brad King | Status | new => closed | ||
| 2011-01-17 10:56 | Brad King | Assigned To | => Brad King | ||
| 2011-01-17 10:56 | Brad King | Resolution | open => no change required | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||