In my configure.h.in file I have:
#cmakedefine TEST_VAR_VALUE
In my CMakeLists.txt file I have:
configure_file( ${PROJECT_SOURCE_DIR}/src/config.h.in $
{PROJECT_SOURCE_DIR}/src/configure.h )
set( TEST_VAR_VALUE 0 )
This results in a configure.h file containing:
/* #undef
On 9. Aug, 2009, at 18:06, James C. Sutherland wrote:
In my configure.h.in file I have:
#cmakedefine TEST_VAR_VALUE
In my CMakeLists.txt file I have:
configure_file( ${PROJECT_SOURCE_DIR}/src/config.h.in $
{PROJECT_SOURCE_DIR}/src/configure.h )
set( TEST_VAR_VALUE 0 )
This results
On Aug 9, 2009, at 10:20 AM, Michael Wild wrote:
On 9. Aug, 2009, at 18:06, James C. Sutherland wrote:
In my configure.h.in file I have:
#cmakedefine TEST_VAR_VALUE
In my CMakeLists.txt file I have:
configure_file( ${PROJECT_SOURCE_DIR}/src/config.h.in $
Michael,
Thank you for this example! It was really informative. Definitely a
missing piece in my knowledge thus far.
One question:
I get an error stating:
CMake Error at CMakeLists.txt:70 (message):
MoreFilesX requires the SDK version to be not newer than 10.4u (10.6
detected)
this
On Aug 9, 2009, at 10:33 AM, James C. Sutherland wrote:
On Aug 9, 2009, at 10:20 AM, Michael Wild wrote:
On 9. Aug, 2009, at 18:06, James C. Sutherland wrote:
In my configure.h.in file I have:
#cmakedefine TEST_VAR_VALUE
In my CMakeLists.txt file I have:
configure_file(
On 9. Aug, 2009, at 18:39, James C. Sutherland wrote:
On Aug 9, 2009, at 10:33 AM, James C. Sutherland wrote:
On Aug 9, 2009, at 10:20 AM, Michael Wild wrote:
On 9. Aug, 2009, at 18:06, James C. Sutherland wrote:
In my configure.h.in file I have:
#cmakedefine TEST_VAR_VALUE
In my
On 9. Aug, 2009, at 18:59, ML wrote:
Michael,
Thank you for this example! It was really informative. Definitely a
missing piece in my knowledge thus far.
One question:
I get an error stating:
CMake Error at CMakeLists.txt:70 (message):
MoreFilesX requires the SDK version to be not
I have been meaning to try and create such a patch for a while. The
idea behind the patch is that you can specify the location of the out
of source build directory on the command line. By itself, this really
isn't all that useful save having to type mkdir 'some dir', cd 'some
dir', and 'cmake ..'
In my configure.h.in file I have:
#cmakedefine TEST_VAR_VALUE
In my CMakeLists.txt file I have:
configure_file( ${PROJECT_SOURCE_DIR}/src/config.h.in $
{PROJECT_SOURCE_DIR}/src/configure.h )
set( TEST_VAR_VALUE 0 )
This results in a configure.h file containing:
/* #undef TEST_VAR_VALUE */
James C. Sutherland wrote:
#define TEST_VAR_VALUE ${TEST_VAR_VALUE}
is what you want.
But if I do
set( TEST_VAR_VALUE 0 )
then this results in TEST_VAR_VALUE being undefined rather than having
the value of 0 as I want. If the value is anything other than zero it
works. This is what I
On Sun, Aug 9, 2009 at 3:07 PM, Michael Wildthem...@gmail.com wrote:
On 9. Aug, 2009, at 18:59, ML wrote:
Michael,
Thank you for this example! It was really informative. Definitely a
missing piece in my knowledge thus far.
One question:
I get an error stating:
CMake Error at
On 9. Aug, 2009, at 22:49, James C. Sutherland wrote:
In my configure.h.in file I have:
#cmakedefine TEST_VAR_VALUE
In my CMakeLists.txt file I have:
configure_file( ${PROJECT_SOURCE_DIR}/src/config.h.in $
{PROJECT_SOURCE_DIR}/src/configure.h )
set( TEST_VAR_VALUE 0 )
This results in a
On Sun, Aug 9, 2009 at 5:07 PM, Bill Hoffmanbill.hoff...@kitware.com wrote:
James C. Sutherland wrote:
#define TEST_VAR_VALUE ${TEST_VAR_VALUE}
is what you want.
But if I do
set( TEST_VAR_VALUE 0 )
then this results in TEST_VAR_VALUE being undefined rather than having the
value of 0 as
On 9. Aug, 2009, at 23:09, Mike Jackson wrote:
On Sun, Aug 9, 2009 at 3:07 PM, Michael Wildthem...@gmail.com wrote:
On 9. Aug, 2009, at 18:59, ML wrote:
Michael,
Thank you for this example! It was really informative. Definitely a
missing piece in my knowledge thus far.
One question:
I
Aah, now I see what you want...
#define TEST_VAR_VALUE ${TEST_VAR_VALUE}
is what you want.
But if I do
set( TEST_VAR_VALUE 0 )
then this results in TEST_VAR_VALUE being undefined rather than
having the value of 0 as I want. If the value is anything other
than zero it works. This is
Hi Guys,
With all of your help and reading intensely though the documentation
to understand each command. I am starting to really get this.
I am doing great now.
What is the command to force 32-bit carbon as now that I set 10.4 as
my SDK and I am running on a 64 -bit machine I am getting
On 10. Aug, 2009, at 1:27, ML wrote:
Hi Guys,
With all of your help and reading intensely though the documentation
to understand each command. I am starting to really get this.
I am doing great now.
What is the command to force 32-bit carbon as now that I set 10.4 as
my SDK and I am
17 matches
Mail list logo