The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=14182 ====================================================================== Reported By: YYrhs Assigned To: ====================================================================== Project: CMake Issue ID: 14182 Category: (No Category) Reproducibility: have not tried Severity: minor Priority: low Status: new ====================================================================== Date Submitted: 2013-05-31 06:44 EDT Last Modified: 2013-05-31 06:44 EDT ====================================================================== Summary: set_property file.c PROPERTY COMPILE_FLAGS should allow a list of flags Description: set_property(SOURCE file.c PROPERTY COMPILE_FLAGS "-DX=FOO -DBAR=ZOO")
is nice, unless you want to pass strings with spaces etc. I can't imagine setting compile flags this way is very portable. The alternative is to create "static libraries", set additional cflags for those, then link agains the static libraries - but that's overkill. Setting priority to low because I don't require the feature (evaluating alternative configuration tools trying to find one which can run cofiguration tests in parallel) ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2013-05-31 06:44 YYrhs New Issue ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
