Using cmake 2.8.11.2 built from source on Linux. I am using -Wno-dev at
generation time:
CC=gcc cmake -Wno-dev ..
but I see messages like this:
Warning: Source file "license_mailer_pkg.ads" is listed multiple times for
target "license_gen"
I thought -Wno-dev would turn this off. This is an ex
Hi Decker,
On Tuesday, May 26, 2015 11:22 AM, CMake wrote:
> SET_TARGET_PROPERTIES( PROPERTIES
> COMPILE_FLAGS "${ExtraFlags}"
> COMPILE_DEFINITIONS
> "SIMPLE_FLAG;DEFINED_SYMBOL=;DEFINED_STRING=\"string value\""
> )
I'm not sure if this was meant as a s
Hi Murali,
On Tuesday, May 26, 2015 11:07 AM, muralisr...@gmail.com wrote:
> Hi David,
>
> The project that I am working on has similar needs of having different
> flags for each target. I have placed the different targets in
> different sub-folders and set the CMAKE_*_FLAGS. This approach seems
Hi,
The current way of specifying a toolchain file is during the configure step
via the command line.
mkdir /tmp/build && cd /tmp/build
cmake -DCMAKE_TOOLCHAIN_FILE=/path/to/toolchain.cmake /path/to/source
In the project that I am working on I need to load different toolchain
files depending on
If I run cmake 3.2.2 normally, I get errors like this:
CMake Error: Remove failed on file:
/home/UNIXHOME/mlakata/p4/acq/Sequel/basewriter/build/x86_64/Debug/CMakeFiles/CMakeTmp/.nfs0786c4ec398c:
System Error: No such file or directory
If it was just a warning, I would ignore it,
SET_TARGET_PROPERTIES( PROPERTIES
COMPILE_FLAGS "${ExtraFlags}"
COMPILE_DEFINITIONS
"SIMPLE_FLAG;DEFINED_SYMBOL=;DEFINED_STRING=\"string value\""
)
On Tue, May 26, 2015 at 11:07 AM, Murali Paluru wrote:
> Hi David,
>
> The project that I am working on h
Hi David,
The project that I am working on has similar needs of having different
flags for each target. I have placed the different targets in different
sub-folders and set the CMAKE_*_FLAGS. This approach seems to work fine as
you mentioned.
>From my understanding, a new add_subdirectory creates