View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0005533 | CMake | CCMake | public | 2007-08-18 08:00 | 2009-12-14 12:03 | ||||
Reporter | Philippe Fremy | ||||||||
Assigned To | Brad King | ||||||||
Priority | low | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | duplicate | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0005533: CONFIGURE_FILE should keep the line-ending convention of the input file | ||||||||
Description | I am on windows, using CMake 2.4.7 (windows install) but using the cygwin bash to process some files. One of the bash scripts is generated by CONFIGURE_FILE(). The problem is that the input file is with unix line endings, and the output file is with windows line endings. And cygwin bash always wants unix line endings: I suggest to let CONFIGURE_FILE() output the file in the same encoding and line-ending than the original one. | ||||||||
Additional Information | User@Phil_vaio /cygdrive/d/work/work/yzis-dev/yzis-qtm/tests $ cat CMakeLists.t xt configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/env_test.sh.in ${CMAKE_CURRENT_SOURCE_DIR}/env_t est.sh @ONLY ) User@Phil_vaio /cygdrive/d/work/work/yzis-dev/yzis-qtm/tests $ file env_test.sh .in env_test.sh.in: ASCII text User@Phil_vaio /cygdrive/d/work/work/yzis-dev/yzis-qtm/tests $ file env_test.sh env_test.sh: ASCII text, with CRLF line terminators | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0008506) Philippe Fremy (reporter) 2007-08-18 08:01 |
See also: http://www.cmake.org/Bug/view.php?id=3957 [^] The problem is similar but for the FILE(WRITE ) command. |
(0013911) David Cole (manager) 2008-10-20 17:13 |
Brad King / David Cole discussed via email on October 10, 2008 |
(0018858) Brad King (manager) 2009-12-14 12:03 |
In issue 0003957 I already mention that the problem is related to configure_file. To keep discussion in one place I'm closing this as a duplicate. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2007-08-18 08:00 | Philippe Fremy | New Issue | |
2007-08-18 08:01 | Philippe Fremy | Note Added: 0008506 | |
2007-12-18 09:58 | Bill Hoffman | Status | new => assigned |
2007-12-18 09:58 | Bill Hoffman | Assigned To | => David Cole |
2008-10-10 18:08 | David Cole | Assigned To | David Cole => Brad King |
2008-10-10 18:11 | David Cole | Relationship added | related to 0003957 |
2008-10-20 17:11 | David Cole | Assigned To | Brad King => David Cole |
2008-10-20 17:13 | David Cole | Note Added: 0013911 | |
2009-01-22 14:04 | David Cole | Priority | normal => low |
2009-01-22 14:04 | David Cole | Category | => CCMake |
2009-12-10 14:09 | David Cole | Assigned To | David Cole => Brad King |
2009-12-14 12:03 | Brad King | Note Added: 0018858 | |
2009-12-14 12:03 | Brad King | Status | assigned => closed |
2009-12-14 12:03 | Brad King | Resolution | open => duplicate |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |