[cmake-developers] [CMake 0012342]: Using set_property(...APPEND) for COMPILE_FLAGS result in semicolons in the build command line

Mantis Bug Tracker mantis at public.kitware.com
Fri Jul 15 04:18:50 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12342 
====================================================================== 
Reported By:                Johan Björk
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12342
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-07-15 04:18 EDT
Last Modified:              2011-07-15 04:18 EDT
====================================================================== 
Summary:                    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.

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-07-15 04:18 Johan Björk    New Issue                                    
======================================================================




More information about the cmake-developers mailing list