> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of dizzy
> Sent: 22 April 2008 12:31
> To: cmake@cmake.org
> Subject: Re: [CMake] Differentiate between Linux and FreeBSD
>
> On Monday 21 April 2008 12:51:46 Horacio Sanson wrote:
> > I can use IF(WIN32)
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of
> Alexander Neundorf
> Sent: 25 March 2008 16:58
> To: cmake@cmake.org
> Subject: Re: [CMake] Problem added file dependency to a library.
>
> I'd suggest use add_custom_command(OUTPUT .../ext.obj ... ) fo
Hi there,
I'm having major woes trying to add a file dependency to a library, and
was wondering if anyone can point me in the right direction.
I have a library which depends upon an external object file, produced by
a process outside of cmake. I've created a custom target to fire that
proc
Thanking you sir.
Joe
> -Original Message-
> From: Sylvain Benner [mailto:[EMAIL PROTECTED]
> Sent: 10 March 2008 10:44
> To: Josef Karthauser
> Cc: cmake@cmake.org
> Subject: Re: [CMake] Project sub folders in visual studio solution
files.
>
>
>
>
Does anyone have a fix for creating a project hierarchy in visual studio
solution files?
The number of projects we have is now rather too many to be organised in
a single list in the global solution file, and I'd love to put them into
folders.
Thanks,
Joe
_
I didn't see an answer to this - I'd love to know if there is one.
Pretty please J.
Joe
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Josef Karthauser
Sent: 31 January 2008 14:35
To: cmake@cmake.org
Subject: [CMake] Excluding non local headers from dependency
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
Behalf
> Of Emmanuel Blot
> Sent: 03 February 2008 20:15
> To: cmake@cmake.org
> Subject: [CMake] Visual Studio generator and cross-compilation
>
> Hi all,
>
> Does cmake (2.5 pre) support generation of build fi
Hey folks,
I'm trying to speed up the cmake configuration - is there an easy way of
excluding non local headers from the dependency calculations in cmake?
Ideally it would be good to specify that a particular
INCLUDE_DIRECTORIES entry should not be considered in the dependency
checks.
Is th
; -Original Message-
> From: Ken Martin [mailto:[EMAIL PROTECTED]
> Sent: 25 January 2008 15:18
> To: Josef Karthauser; cmake@cmake.org
> Subject: RE: [CMake] return and break commands
>
> It would not be that hard to port it, but...I'm pretty sure we are
done
> wit
> -Original Message-
> From: Ken Martin [mailto:[EMAIL PROTECTED]
> Sent: 25 January 2008 15:04
> To: Josef Karthauser; cmake@cmake.org
> Subject: RE: [CMake] return and break commands
>
> > What would be useful, would be to be able to interrupt the current
&
What would be useful, would be to be able to interrupt the current
CMakeLists file, from within a macro.
The usage case would be:
CMakeLists.txt (from a subdirectory):
INCLUDE(my_macros)
MY_CONFIG_MACRO()
# normal stuff follows
The MY_CONFIG_MACRO
How easy would it be to port this functionality to 2.4.x?
Joe
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
Behalf
> Of Ken Martin
> Sent: 23 January 2008 15:56
> To: cmake@cmake.org
> Subject: [CMake] return and break commands
>
> I just checked into CVS
Hmm, I can't see where it would have been fixed. Can one of the
developers please comment?
Thanks,
Joe
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
Behalf
> Of Josef Karthauser
> Sent: 14 January 2008 17:44
> To: Rodolfo Schulz d
08 17:40
> To: cmake@cmake.org
> Subject: [CMake] Re: Get full output library filename
>
> Josef Karthauser wrote:
>
> > Does it correctly include the contents of ${BUILD_TYPE}_POSTFIX?
I'm
> > using 2.4.7, and reported a few weeks ago that the value of LOCATION
> &g
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
Behalf
> Of Rodolfo Lima
> Sent: 12 January 2008 01:42
> To: cmake@cmake.org
> Subject: [CMake] Re: Get full output library filename
>
> Rodolfo Lima escreveu:
> > Hi, is there a way to get the full library name
Is it easy to suppress the addition of the progress report information
from generated Makefiles?
They're useful, but I'd like to switch them off as speed is more
important to me right now.
Joe
___
CMake mailing list
CMake@cmake.org
http://www.cmake
Whoops, I forgot the cmake output:
Lib is called: C:/Devel/SVN/trunk/build/test/qqq/Hello/Hello.lib
Vs nmake output:
Linking CXX static library Hello_d.lib
Joe
From: Josef Karthauser
Sent: 21 December 2007 09:05
To: Josef Karthauser; cmake@cmake.org
Subject: Bug in
library Hello_d.lib
[100%] Built target Hello
Am I misunderstanding the usage of get_target_property or is there a bug
here?
Joe
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Josef Karthauser
Sent: 20 December 2007 17:11
To: cmake@cmake.org
Subject: [CMake] CMAKE_CO
Am I going mad? (could be, it was the office party last night).
I want to add a '_d' to the end of debug libraries, which it appears
that I can do using something like:
SET(CMAKE_DEBUG_WIN32_POSTFIX "_d" CACHE INTERNAL "Postfix for debug
library names" FORCE)
Later deep in some macros t
# Add the configuration to the list of configurations
SET(CMAKE_CONFIGURATION_TYPES
${CMAKE_CONFIGURATION_TYPES} ""
CACHE INTERNAL "" FORCE
)
but that doesn't remove the stock configurations, if they are already
there.
Joe
From: David Col
Yeah, that's a pain. I recently submitted a bug fix which allows
configurations other than these stock four to be used, however sometimes
these stock four get added in addition, and sometimes they're not. I've
not managed to determine where or why.
It's my understanding that the MSVC configur
EMAIL PROTECTED]
Sent: 14 December 2007 18:18
To: Bill Hoffman
Cc: Josef Karthauser; cmake@cmake.org
Subject: Re: [CMake] PRE_BUILD custom commands don't appear to be
working
But you should be able to put your custom command in its own custom
target and then use ADD_DEPENDENCIES to make the cus
> -Original Message-
> From: Bill Hoffman [mailto:[EMAIL PROTECTED]
> Sent: 14 December 2007 14:16
> To: Josef Karthauser
> Cc: cmake@cmake.org
> Subject: Re: [CMake] PRE_BUILD custom commands don't appear to be
> working
>
> Josef Karthauser wrote:
&g
I'm going to try that today.
From: David Cole [mailto:[EMAIL PROTECTED]
Sent: 14 December 2007 18:18
To: Bill Hoffman
Cc: Josef Karthauser; cmake@cmake.org
Subject: Re: [CMake] PRE_BUILD custom commands don't appear to be
working
But you should be able to put your custom
> -Original Message-
> From: Daniel [mailto:[EMAIL PROTECTED]
> Sent: 14 December 2007 15:23
> To: Josef Karthauser
> Cc: CMake ML
> Subject: Re: [CMake] Compilation speed with CMake/NMake combination,
> making it faster?
>
[cut]
> Don't forget about th
I don't suppose anyone had any thought on this one did they?
Yours hopefully,
Joe
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Josef Karthauser
Sent: 13 December 2007 18:31
To: cmake@cmake.org
Subject: [CMake] PRE_BUILD custom commands don't appear to
I'm trying to add a prebuild custom command to a NMake target, but it
doesn't appear to be running in the right place.
Here's an example:
CMakelists.txt:
Project(Hello)
add_library (Hello hello.cxx hello.h)
add_custom_command(TARGET Hello PRE_BUILD
COMMAND ${CMAKE_COMMAND}
> -Original Message-
> > We do it this way:
> >
> > cmake -DCMAKE_CXX_COMPILER_WORKS=1 -DCMAKE_C_COMPILER_WORKS=1
> > -DHAVE_CMAKE_SIZEOF_VOID_P=1 .
> >
>
> That looks like a bad idea to me The void one in particular. You
> should really be careful about setting stuff like this
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Jesse Corrington
> Sent: 12 December 2007 00:46
> To: cmake@cmake.org
> Subject: [CMake] turning off compile testing
>
> Is there any way to turn off try compile during configuration?
We do it this way:
cmake -DCMAKE_CXX_COMPI
> -Original Message-
> From: Torsten Martinsen [mailto:[EMAIL PROTECTED]
> Sent: 11 December 2007 09:08
> To: Josef Karthauser; CMake ML
> Subject: RE: [CMake] Compilation speed with CMake/NMake combination,
> making it faster?
>
> > * We're usi
So we've got a fairly sizable amount of code described in the CMake
framework now, about 10 or so libraries, and 4 projects which consume
them. We're now hitting upon compilation time as an issue, as it takes
much longer than our previous framework did. I'm wondering what can be
done to speed it
> -Original Message-
> From: Bill Hoffman [mailto:[EMAIL PROTECTED]
> Sent: 06 December 2007 13:23
> To: Josef Karthauser
> Cc: Sylvain Benner; CMake ML
> Subject: Re: [CMake] Creating a visual studio project with non .cpp or
> .h files in it.
>
> Josef Kartha
it to add external
foo.cmake files to the visual project files for ease of editing within
the Visual Studio environment.
Joe
> -Original Message-
> From: Sylvain Benner [mailto:[EMAIL PROTECTED]
> Sent: 05 December 2007 14:28
> To: Josef Karthauser
> Cc: CMake ML
> Sub
Does anyone know the answer to this? I'd love you forever :)
Joe
> -Original Message-
> From: Josef Karthauser
> Sent: 04 December 2007 14:23
> To: Josef Karthauser; Joshua Jensen; Philip Lowman
> Cc: CMake ML
> Subject: RE: [CMake] Creating a visual studio p
> -Original Message-
> From: Jesper Eskilson [mailto:[EMAIL PROTECTED] On Behalf Of
> Jesper Eskilson
> Sent: 04 December 2007 13:41
> To: Josef Karthauser
> Cc: cmake@cmake.org
> Subject: Re: [CMake] Bug in EXECUTE_PROCESS?
>
> Josef Karthaus
being put out of my misery! :)
Joe
> -----Original Message-
> From: Josef Karthauser
> Sent: 02 November 2007 15:23
> To: 'Joshua Jensen'; Philip Lowman
> Cc: CMake ML
> Subject: RE: [CMake] Adding non .cpp or .h file to a visual studio
> project.
>
> > Fro
Is this a bug?
EXECUTE_PROCESS(
COMMAND badcmd_that_doesnt_exist
ERROR_VARIABLE ERROR
)
IF(ERROR)
MESSAGE(FATAL_ERROR "Error! Command doesn't exist.")
ENDIF(ERROR)
as the fatal_error is never raised.
If not, what's the canonical way of reliably det
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
Behalf
> Of Brandon Van Every
> Sent: 03 December 2007 20:06
> To: cmake@cmake.org
> Subject: Re: [CMake] Rediscovering the compiler.
>
> On Dec 3, 2007 7:35 AM, Bill Hoffman <[EMAIL PROTECTED]> wrote:
> >
> > No, there is no way currently i
Is there a supported method for getting a subversion revision number at
build time?
I see that I can do it at build tree generation time by using:
FIND_PACKAGE(Subversion)
IF(Subversion_FOUND)
Subversion_WC_INFO(${CMAKE_HOME_DIRECTORY} Project)
MESSAGE("Curren
Is there a canonical way of forcing cmake (2.4.7) to rediscover the
compiler, without blowing the CMakeCache and build directory away
altogether and starting again?
I guess that there are a few variables which if I reset them will drive
this behaviour. Which ones are sufficient?
Joe
Did I miss something? Does cmake support cross compiling now?
Joe
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Jesse Corrington
Sent: 29 November 2007 18:56
To: Salvatore Iovene
Cc: cmake@cmake.org; [EMAIL PROTECTED]
Subject: Re: [CMake] cross compiling
I definitely w
I've got a library which I want to build from a target which has a
different name. Is there any way of doing this?
If I do,
ADD_LIBRARY(Foo source.cpp)
this creates a target called 'Foo' which builds 'Foo.lib'. However I
want the library 'Foo.lib' to be built from a target call 'Foo.C
> > The mailing list archives say don't use Cygwin gmake for this.
> > http://www.cmake.org/pipermail/cmake/2006-August/010617.html
> >
> I've done it, just make sure you are using MinGW GNU Make and not
> Cygwin GNU
> Make. Also you will eventually run into the command line that is too
> log bug,
Does anyone here have gnumake working with the windows CL compiler?
We're using nmake targets, and I tried instead to use gmake, however
there were lots of problems due to backslashes instead of slashes, etc.
I'd appreciate hearing from anyone who has got this working.
Many thanks,
Joe
__
We've got a load of 'shader' files which need to be compiled. I've added
custom targets for them, however like .cpp and .h files they have #include
directives in as they can include other files. Is there an easy way of
utilising cmake's dependency checking stuff to get it to track these
depen
We've got a load of 'shader' files which need to be compiled. I've
added custom targets for them, however like .cpp and .h files they have
#include directives in as they can include other files. Is there an
easy way of utilising cmake's dependency checking stuff to get it to
track these dependenc
To: cmake@cmake.org
> Subject: Re: [CMake] Causing cmake to use stderr instead of stdout.
>
> On Monday 19 November 2007 18:37:02 Josef Karthauser wrote:
> > Is it possible (with relative easy) to have cmake send all output to
> > stderr instead of stdout?
>
> Well on a bourn
Is it possible (with relative easy) to have cmake send all output to
stderr instead of stdout?
Joe
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
Behalf
> Of Brandon Van Every
> Sent: 15 November 2007 14:17
> To: cmake@cmake.org
> Subject: Re: [CMake] Setting environment variables for custom targets
> > It doesn't appear that,
> >
> > SET(ENV{MYVAR}
I'm using a custom target to run an external command to build some
objects, however the external command needs some environment variables
setting to run properly. Is there a way of setting an environment
variable within CMAKE, so that it gets used during the build?
It doesn't appear that,
> From: Joshua Jensen [mailto:[EMAIL PROTECTED]
> Sent: 02 November 2007 15:09
> To: Philip Lowman
> Cc: Josef Karthauser; CMake ML
> Subject: Re: [CMake] Adding non .cpp or .h file to a visual studio project.
>
> Philip Lowman wrote:
> Josef Karthauser wrote:
>
&g
Hi there again,
I'm using cmake to create some visual studio projects, and want to
include some non-C files (config.txt for instance) into the vcproj file
so that my Visual Studio users can edit the file from within the IDE.
I can't add them using ADD_LIBRARY or ADD_EXECUTABLE, so how do I
regi
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 01 November 2007 23:09
> To: Josef Karthauser; CMake ML
> Subject: Re: [CMake] Make clean - doesn't clean dependencies.
>
> Josef Karthauser wrote:
> > It doesn't appear
> Sent: 01 November 2007 10:59
>
> It doesn't appear that a 'make clean' in a subdirectory of the build
tree cleans any of the dependencies.
> Does anyone know of a way that it can be persuaded to?
>
I've fixed it, see the attached patch. (I'll also submit this as a bug).
Joe
fix_clean.patch
De
It doesn't appear that a 'make clean' in a subdirectory of the build
tree cleans any of the dependencies. Does anyone know of a way that it
can be persuaded to?
Joe
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
I've got a problem with backslashes in strings, and macros
This works:
SET(PATH "c:/test/path")
FILE(TO_NATIVE_PATH ${PATH} CPATH)
MESSAGE("Path: ${CPATH}")
It displays "Path: c:\test\path" as expected (on windows)
However this fails:
MACRO(MYMESSAGE MSG)
> -Original Message-
> From: David Cole [mailto:[EMAIL PROTECTED]
> Sent: 26 October 2007 15:04
> To: Josef Karthauser
> Cc: cmake@cmake.org
> Subject: Re: [CMake] Switching off dependencies at compile time (with
> Makefiles)?
>
> - do a "make help&qu
I want to run nmake/make on a cmake generated build tree, but in such a
way that only the targets in the current directory get built. That is I
want to assume that any libraries that a given project depends on (which
have separate CMakeLists.txt files) are already built, and want to
suppress nmake
> -Original Message-
> From: David Cole [mailto:[EMAIL PROTECTED]
> Sent: 25 October 2007 16:28
> To: Josef Karthauser
> Cc: cmake@cmake.org
> Subject: Re: [CMake] Adding a project to a solution.
>
> This code:
> PROJECT(Project)
> TARGET_
Hi there again J,
With respect to the Visual Studio generators, I'm wondering what logic
cmake uses to determine which projects to add to the solution file. I
had assumed that anything which was linked as a library was
automatically added, but it isn't. Is there an easy way of adding
dependen
MAIL PROTECTED]> wrote:
> > On Wednesday 24 October 2007, Josef Karthauser wrote:
> > > Is it not possible to call a variable macroname from within a
> macro?
> > >
> > > MACRO(INDIRECT_MACRO MACRONAME LIST)
> > > FOREACH(L ${LIST})
&
Is it not possible to call a variable macroname from within a macro?
MACRO(INDIRECT_MACRO MACRONAME LIST)
FOREACH(L ${LIST})
${MACRONAME}(${L})
ENDFOREACH(L)
ENDMACRO(INDIRECT_MACRO)
INDIRECT_MACRO(MESSAGE ONE TWO THREE
> -Original Message-
> From: Josef Karthauser
> Sent: 23 October 2007 10:29
> To: Josef Karthauser; [EMAIL PROTECTED]; cmake@cmake.org
> Subject: RE: [CMake] Selecting compiler on Windows platform
>
> > This seems overly restrictive, a tree might contain a number
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Josef Karthauser
> Sent: 22 October 2007 13:59
> To: [EMAIL PROTECTED]; cmake@cmake.org
> Subject: RE: [CMake] Selecting compiler on Windows platform
>
> > > Howev
> -Original Message-
> From: Amitha Perera [mailto:[EMAIL PROTECTED]
> Sent: 22 October 2007 18:53
> To: Josef Karthauser
> Cc: cmake@cmake.org
> Subject: Re: [CMake] Caching calculated values.
>
> On Mon 22 Oct 2007, Josef Karthauser wrote:
> > As each set
Full of questions me...!
As part of a cmake run a number of my CMakeLists.txt files do some
complex state-machine stuff to determine a list of files. This takes
some time, and I want to avoid doing it unnecessarily. However,
whenever a single CMakeLists.txt file in the tree changes, cmake runs
o
> From: David Cole [mailto:[EMAIL PROTECTED]
> Sent: 22 October 2007 14:29
> To: Josef Karthauser
> Cc: cmake@cmake.org
> Subject: Re: [CMake] NMake questions if I may.
>
> nmake /? in a visual studio command prompt should look something like this:
>
>
> C:\Program F
Do we have any NMake users out there? I'm sure someone might be able to
answer this for me.
It looks like in the past NMake had a -J option, which like the -j of
gnu's gmake, causes parallel compilation where possible. This appears
to be missing with the NMake I've got with Visual Studio 2005 t
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of [EMAIL PROTECTED]
> Sent: 22 October 2007 13:36
> To: cmake@cmake.org
> Subject: Re: [CMake] Selecting compiler on Windows platform
>
> On Monday 22 October 2007 11
I’m a bit confused, as ever ☺.
I’ve got a number of windows compilers, cl and gcc for instance, and I want to
specify which one I want to use.
I can do this using an environment variable thus,
% env CXX=gcc cmake –G’NMake Makefiles’ .
which allows CMakeDetermineCXXCompiler.cmake to override
Is there a canonical way of matching a filename against a number of
filetypes?
I have a list of files MY_FILES, and I'd like to efficiently extract
those which match a given list of filename extensions, in otherwords
something like this:
SET(ALL_FILES_VAR this.c that.cpp som
Isn't the value of CMAKE_PROJECT_NAME supposed to contain the name given
to the last PROJECT() call? It appears with the current version of
CMAKE that it gets the value of the first call to PROJECT, and isn't
subsequently updated.
For example:
CMakeLists.txt:
Project(foo)
MES
How do I get a list of all variables currently defined within a run of
CMake? Is there any easy way of dumping all the variables and their
values, at the end of a CMakeLists.txt file for instance?
Joe
___
CMake mailing list
CMake@cmake.org
http://www.cm
I have a library (libA), which depends upon another library (libB) for
its implementation.I also have an executable (execC) which uses
LibA. Is there an easy way of getting LibB added to the list of
dependencies, so what when I do
Add_Executable(exeC)
Target_Link_Libraries(exeC libA)
I'm wondering what the best way to override the default 'Header Files'
and 'Source Files' SOURCE_GROUPs? I'm creating SOURCE_GROUPs by hand,
and I don't want the default ones to be active. Looking at the code, I
think it might require a source hack, but I thought I'd better check
first.
Joe
> In my patched version at:
>
> svn co svn://svn.luaplus.org/CMake/patches/All CMake
>
> There is a new source file property called EXCLUDED_FROM_BUILD.
>
> SET_SOURCE_FILES_PROPERTIES($(MY_SRCS) PROPERTIES EXCLUDED_FROM_BUILD
> true)
>
> This handles Visual Studio .vcproj files, but it doesn't
> -Original Message-
> From: Sylvain Benner [mailto:[EMAIL PROTECTED]
> Sent: 12 October 2007 13:00
> To: Josef Karthauser
> Cc: cmake@cmake.org
> Subject: Re: [CMake] Excluding a file from a particular configuration
> with Visual Studio
>
> > What's t
What's the canonical way of marking a file as being excluded from a
given Visual Studio configuration? Is there one?
Joe
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
Behalf
> Of Jakob Santner
> Sent: 12 October 2007 07:40
> To: cmake@cmake.org
> Subject: [CMake] Changing VS2005 Configuration
>
> Hello,
>
> I am using Visual Studio 8 and cmake 2.4p7 and am trying to set the
>
> From: Sylvain Benner [mailto:[EMAIL PROTECTED]
> Sent: 11 October 2007 16:40
> To: Josef Karthauser
> Cc: cmake@cmake.org
> Subject: Re: [CMake] Removing the first element from a list
>
> correction:
>
> MACRO(SHIFT RESULT LISTVAR)
> LIST(GET ${LIST
> -Original Message-
> From: Sylvain Benner [mailto:[EMAIL PROTECTED]
> Sent: 11 October 2007 16:16
> To: Josef Karthauser
> Cc: cmake@cmake.org
> Subject: Re: [CMake] Removing the first element from a list
>
>
> > How does one go about removing the first e
> > How does one go about removing the first element of a list
> Have a look to the LIST command, you'll have everything you need.
Fantastic. That's not described in the book :).
Joe
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/l
How does one go about removing the first element of a list? I want to
make a state machine, something like:
WHILE(${LISTVAR})
# Get command from first entry
SHIFT(CMD ${LISTVAR})
# Get argument
SHIFT(CMD ${LISTVAR}
> Does anyone know how to turn a string, such as "one;two;three" into a
> list, so that I can enumerate the elements in a list?
>
> I want something like:
>
> SET(Q "one;two;three")
> FOREACH(I TO_LIST(Q))
> ...
> ENDFOREACH().
Ah, ignore me. Of course I just exp
Does anyone know how to turn a string, such as "one;two;three" into a
list, so that I can enumerate the elements in a list?
I want something like:
SET(Q "one;two;three")
FOREACH(I TO_LIST(Q))
...
ENDFOREACH().
Thanks,
Joe
__
Hey there,
I've submitted a patch to the bug tracker, under number 0005865, for
people who generate make/nmake files under Windows with the Microsoft
compiler (cl.exe). The old behaviour was that the linker (link.exe) was
picked up from the path at compile time. The new behaviour is that it
is a
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
Behalf
> Of Josef Karthauser
> Sent: 08 October 2007 16:36
> To: cmake@cmake.org
> Subject: [CMake] Calling cmake from within cmake.
>
> I want to recursively call cmake from a cm
I want to recursively call cmake from a cmakelists.txt file to create
build directories for other projects. I'm sure I saw something in the
docs that suggested a neat way of doing it that didn't involve executing
cmake explicitly as an external command, but I can't find it now I look
again. Can a
> I can add a configuration by using following the instructions here:
>
>
>
http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_extend_the_build_modes_wit
h_a_custom_made_one_.3F
>
> How do I go about removing an existing one?
Answering my own question, I now see I don't need to. Instead I just
defi
>
> > Is this a bug or a feature, does anyone know? If I rip out the
> checks in cmGlobalVisualStudio7Generator:: GenerateConfigurations is
> anything going to break?
> >
> >
> If you rip out this I think you'll have an error with TRY_COMPILE. (be
> aware to delete your CMakeLists.txt cache each
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Josef Karthauser
> Sent: 05 October 2007 15:44
> To: cmake@cmake.org
> Subject: [CMake] Supported configurations with Visual Studio builds
>
> I’m confused (not for the fir
I’m confused (not for the first time! ☺).
Why is it that cmGlobalVisualStudio7Generator only supports DEBUG, RELEASE,
MINSIZEREL and RELWITHDEBINFO? They’re mostly placeholders anyway so it seems
wierd that they are hardcoded and enforced.
Is this a bug or a feature, does anyone know? If I r
Quick question if I may.
I can add a configuration by using following the instructions here:
http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_extend_the_build_modes_wit
h_a_custom_made_one_.3F
How do I go about removing an existing one?
Joe
___
CMake
I'm trying to determine how much work is required modify cmake to
support in-source build trees for multiple Makefile configurations.
Currently, given a source tree such as:
Source/
Proj1/
Proj2/
with CMakeLists.txt files at each level, it is possible to
I'm trying to determine how much work is required modify cmake to
support in-source build trees for multiple Makefile configurations.
Currently, given a source tree such as:
Source/
Proj1/
Proj2/
with CMakeLists.txt files at each level, it is possible to c
To address this issue I had to patch the cmake source files like this:
if(this->PlatformName == "XBox 360")
{
aCompilerTool = "VCCLX360CompilerTool";
}
else
{
aCompilerTool = "VCCLCompilerTool";
}
> -Original Message-
> From: Torsten Martinsen [mailto:[EMAIL PROTECTED]
> Sent: 01 October 2007 14:43
> To: Josef Karthauser; Cmake Mailing List
> Subject: RE: [CMake] Building both make files and visual studio files.
>
> Josef Karthauser <> wrote:
>
Hello again,
I'm wondering what the best way to going about producing make files and
visual studio files at the same time is. I want to use nmake to build
my tree, but want visual studio project files so that the developers can
continue to with within the visual studio environment, which would ca
Am I correct in thinking that cmake doesn't support build types for make
files? It doesn't seem to matter what I do with
CMAKE_CONFIGURATION_TYPES, when I generate a set of make files, they
appear to be created for a single generic target.
Is there a 'canonical' way of coaxing cmake to generate m
> > > Also, does cmake have an idea of platforms, or does it assume
Win32?
> >
> > CMake does not assume anything about Win32 or any other platform.
>
> What I mean is, in vcproj files combine the configuration and the
> platform
> labels to form a compilation target, i.e Release|Win32, Debug|x6
1 - 100 of 104 matches
Mail list logo