Notes |
|
(0038823)
|
Brad King
|
2015-05-29 13:56
|
|
In general only the compiler should go in CC. The flags should go in CFLAGS. |
|
|
(0038824)
|
Reid Kleckner
|
2015-05-29 13:57
|
|
I attempted to use CC plus -DCMAKE_C_FLAGS, and this didn't seem to get everywhere it needed to go. Will CFLAGS fare any better? |
|
|
(0038825)
|
Reid Kleckner
|
2015-05-29 14:10
|
|
In any case, the same problem still exists. CMakeClDeps doesn't incorporate CFLAGS or CMAKE_C_FLAGS in any way, leading to a failed link. |
|
|
(0038867)
|
Brad King
|
2015-06-01 09:50
|
|
For reference, cmcldeps is needed only for the MS resource compiler (rc) since this commit:
Ninja: use deps = gcc/msvc feature
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=eeb4aece [^]
I'm not particularly familiar with CMakeClDeps, but its activation in the MSVC_C_ARCHITECTURE_ID condition looks sub-optimal. I think some refactoring may be needed to clean this up. |
|
|
(0038868)
|
Brad King
|
2015-06-01 09:52
|
|
Re 0015596:0038867: If use of CMakeClDeps is cleaned up to be enabled along with the resource compiler then it could use CMAKE_RC_COMPILER instead of CMAKE_C_COMPILER and not need the C flags to be carried through. |
|
|
(0039440)
|
Brad King
|
2015-09-18 10:10
|
|
|
|
(0040413)
|
Robert Maynard
|
2016-02-01 09:10
|
|
Closing resolved issues that have not been updated in more than 4 months. |
|