Hi,
I have a project that compiles perfectly on AIX with CMake 2.4.8.
However, I create a new build directory and use CMake 2.6.0 RC 6 or 8 to
build and it fails. The problem seems to be that the 2 newer version are
ignoring my ADD_DEFINITIONS statements.
Has anyone else experienced this?
On Thursday 17 April 2008, Dieter Rosch wrote:
Hi,
I have a project that compiles perfectly on AIX with CMake 2.4.8.
However, I create a new build directory and use CMake 2.6.0 RC 6 or 8 to
build and it fails. The problem seems to be that the 2 newer version are
ignoring my
Kishore, Jonnalagadda (IE10) wrote:
I have problems with ADD_DEFINITIONS : I have two target in my
CMakeLists which I'd like to have different -D flags. If I add
ADD_DEFINITIONS, it seems like both targets are affected. How coul I
do
such thing ?
You have two options.
1) Set target
I have problems with ADD_DEFINITIONS : I have two target in my
CMakeLists which I'd like to have different -D flags. If I add
ADD_DEFINITIONS, it seems like both targets are affected. How coul I
do
such thing ?
You have two options.
1) Set target specific definitions using the command
Hi,
I would say the third and correct option is to use
SET_SOURCE_FILES_PROPERTIES together with the COMPILE_FLAGS property.
Regards,
Werner
Kishore, Jonnalagadda (IE10) wrote:
I have problems with ADD_DEFINITIONS : I have two target in my
CMakeLists which I'd like to have different -D
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Werner Smekal wrote:
I would say the third and correct option is to use
SET_SOURCE_FILES_PROPERTIES together with the COMPILE_FLAGS property.
I agree.
There is one minor bug with this command that I've filed below that
people should be aware of.
Philip Lowman wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Werner Smekal wrote:
I would say the third and correct option is to use
SET_SOURCE_FILES_PROPERTIES together with the COMPILE_FLAGS property.
I agree.
There is one minor bug with this command that I've filed below
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bill Hoffman wrote:
Philip Lowman wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Werner Smekal wrote:
I would say the third and correct option is to use
SET_SOURCE_FILES_PROPERTIES together with the COMPILE_FLAGS property.
I
On Saturday 24 Mar 2007 IST, Werner Smekal wrote:
I would say the third and correct option is to use
SET_SOURCE_FILES_PROPERTIES together with the COMPILE_FLAGS property.
But then going this way is again going to affect both the targets if they
depend on the same source files.
--
Cheers!