Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | file(GENERATE): Only write the file if content is different. | Stephen Kelly | 2014-04-30 | 4 | -0/+34 |
| | | | | No policy is used to control this behavior for now. | ||||
* | Cygwin: Avoid legacy warnings in RunCMake.* tests | Brad King | 2013-08-13 | 1 | -1/+1 |
| | | | | | | Set the minimum required version of CMake high enough to avoid the warning for CMAKE_LEGACY_CYGWIN_WIN32. The warning appears on stderr and breaks the expected output matching. | ||||
* | file: Add GENERATE command to produce files at generate time | Stephen Kelly | 2013-05-24 | 19 | -0/+69 |
The idea is to write to a temp file which contains generator expressions, and at generate time, evaluate the generator expressions, and write the result to a file. Because executables on Windows are limited in the length of command line it is possible to use, it is common to write command line arguments to a file instead and specify the file as a source of arguments. This new FILE(GENERATE) subcommand allows the use of generator expressions to create such files so that they can be used with add_custom_command for example. |