View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0012342 | CMake | CMake | public | 2011-07-15 04:18 | 2012-02-06 06:07 | ||||
Reporter | Johan Björk | ||||||||
Assigned To | Alex Neundorf | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake 2.8.5 | ||||||||
Target Version | CMake 2.8.6 | Fixed in Version | CMake 2.8.6 | ||||||
Summary | 0012342: Using set_property(...APPEND) for COMPILE_FLAGS result in semicolons in the build command line | ||||||||
Description | ADD_EXECUTABLE(foo foo.c) SET_PROPERTY(TARGET foo APPEND PROPERTY COMPILE_FLAGS "-x c++") SET_PROPERTY(TARGET foo APPEND PROPERTY COMPILE_FLAGS "-fPIC") demonstrates the problem. Tested with the makefile generator. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0027041) Alex Neundorf (developer) 2011-07-15 15:00 |
I just pushed a branch SetPropertyAppendString to the next branch. There set_property() has the new option APPEND_STRING, which can be used instead of APPEND, then the new value is simply appended to the existing string, instead of being appended as a new element to a list. |
(0027042) Bill Hoffman (manager) 2011-07-15 15:16 |
Not directly related to this, but you can set the language on a source file in a cross platform/compiler way: http://www.cmake.org/cmake/help/cmake-2-8-docs.html#prop_sf:LANGUAGE [^] http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:set_source_files_properties [^] Set the language to CXX. |
(0028504) David Cole (manager) 2012-02-06 06:07 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-07-15 04:18 | Johan Björk | New Issue | |
2011-07-15 14:59 | Alex Neundorf | Assigned To | => Alex Neundorf |
2011-07-15 14:59 | Alex Neundorf | Status | new => assigned |
2011-07-15 15:00 | Alex Neundorf | Note Added: 0027041 | |
2011-07-15 15:01 | Alex Neundorf | Severity | major => minor |
2011-07-15 15:01 | Alex Neundorf | Status | assigned => resolved |
2011-07-15 15:01 | Alex Neundorf | Resolution | open => fixed |
2011-07-15 15:01 | Alex Neundorf | Relationship added | related to 0012327 |
2011-07-15 15:16 | Bill Hoffman | Note Added: 0027042 | |
2011-09-12 17:14 | David Cole | Fixed in Version | => CMake 2.8.6 |
2011-09-12 17:14 | David Cole | Target Version | => CMake 2.8.6 |
2012-02-06 06:07 | David Cole | Note Added: 0028504 | |
2012-02-06 06:07 | David Cole | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |