-
From: Michael Wild them...@gmail.com
To: cmake@cmake.org
Sent: Tuesday, August 9, 2011 10:32:58 AM
Subject: Re: [CMake] Overriding C compiler flags in CMakeLists files
On Tue 09 Aug 2011 04:28:51 PM CEST, Tim Gallagher wrote:
In your leaf CMakeLists.txt, try doing
Hello,
I'm trying to compile out-of-source an embedded C application using CMake
and MinGW and to use specific compiler flags for some source files.
I tried the approach described in
http://www.cmake.org/pipermail/cmake/2011-April/043703.html but it didn't
work for me. I'm describing below what
On Tue 09 Aug 2011 04:28:51 PM CEST, Tim Gallagher wrote:
In your leaf CMakeLists.txt, try doing:
set_source_files_properties(${SOURCE_FILES} PROPERTIES COMPILE_FLAGS
${LOCAL_COMPILE_FLAGS})
where ${SOURCE_FILES} is a list of the files in the directory and
${LOCAL_COMPILE_FLAGS} is the
contained in the directory. I assumed COMPILE_FLAGS
could, if it existed, operate the same way.
Tim
- Original Message -
From: Michael Wild them...@gmail.com
To: cmake@cmake.org
Sent: Tuesday, August 9, 2011 10:32:58 AM
Subject: Re: [CMake] Overriding C compiler flags in CMakeLists files
On Tue
- Original Message -
From: Michael Wild them...@gmail.com
To: cmake@cmake.org
Sent: Tuesday, August 9, 2011 10:32:58 AM
Subject: Re: [CMake] Overriding C compiler flags in CMakeLists files
On Tue 09 Aug 2011 04:28:51 PM CEST, Tim Gallagher wrote:
In your leaf CMakeLists.txt, try doing
COMPILE_FLAGS could, if it existed, operate the same way.
Tim
- Original Message -
From: Michael Wild them...@gmail.com
To: cmake@cmake.org
Sent: Tuesday, August 9, 2011 10:32:58 AM
Subject: Re: [CMake] Overriding C compiler flags in CMakeLists files
On Tue 09 Aug 2011 04:28:51 PM