On Wed, Sep 30, 2009 at 8:32 AM, wrote:
> Hi,
>
> I've seen a previous discussion on this subject, but unfortunately, none of
> the
> given solutions (as described on
> http://www.cmake.org/Wiki/CMake:VariablesListsStrings) seem to work in my
> case.
>
> I'm using CMake to generate an XML config
Quoting Jeroen Dierckx :
> On Wed, Sep 30, 2009 at 8:32 AM, wrote:
>
> > Hi,
> >
> > I've seen a previous discussion on this subject, but unfortunately, none of
> > the
> > given solutions (as described on
> > http://www.cmake.org/Wiki/CMake:VariablesListsStrings) seem to work in my
> > case.
> >
On Tue, 2009-09-29 at 19:46 -0400, Bill Hoffman wrote:
> Alan W. Irwin wrote:
> > On 2009-09-29 16:36-0400 Bill Hoffman wrote:
> >
> >> make -j N is only supported with the all target.
> >
> > How difficult would it be to implement parallel build support for more than
> > just the "all" target? N
On Wed, 2009-09-30 at 09:28 +0200, fred.anta...@free.fr wrote:
> Quoting Jeroen Dierckx :
>
> > On Wed, Sep 30, 2009 at 8:32 AM, wrote:
> >
> > > Hi,
> > >
> > > I've seen a previous discussion on this subject, but unfortunately, none
> > > of
> > > the
> > > given solutions (as described on
> >
Quoting Marcel Loose :
> On Wed, 2009-09-30 at 09:28 +0200, fred.anta...@free.fr wrote:
> > Quoting Jeroen Dierckx :
> >
> > > On Wed, Sep 30, 2009 at 8:32 AM, wrote:
> > >
> > > > Hi,
> > > >
> > > > I've seen a previous discussion on this subject, but unfortunately,
> none of
> > > > the
> > >
Zitat von "Dixon, Shane" :
I'm trying to get Docbook working in Windows XP with saxon 6.5. I
can get almost all the way to the last step and the command dies.
At the bottom of this e-mail is the relevant code. Here is what the
message() call prints:
May you want to try the cmake scr
On Tue, Sep 29, 2009 at 11:34 PM, Brad King wrote:
> Mathieu Malaterre wrote:
>> On Fri, Sep 25, 2009 at 10:07 PM, Bill Hoffman
>> wrote:
>>> I am happy to announce that CMake 2.8.0 has entered the beta stage! You
>>> can find the source and binaries here: http://www.cmake.org/files/v2.8/.
>>>
>
According to the documentation include_directories has the following syntax:
include_directories([AFTER|BEFORE] [SYSTEM] dir1 dir2 ...)
Especially AFTER and BEFORE are very usefull, when the search order is
important.
I was suprised when I did not find the AFTER and BEFORE in the
link_directo
I had a similar issue with CMAKE_SYSTEM_NAME. I have put platform
specific default settings into files called "Linux.cmake" and
"Windows.cmake",
where the file is included as
INCLUDE (${CMAKE_SYSTEM_NAME}.cmake)
However it's not possible to initialize some variables, because this
include stateme
I have just created a build folder for an application using ITK with
CMake on Ubuntu 9.04.
I have then entered the build folder from a terminal and typed 'make'.
I then get a list of errors:
...
home/mort/lib/compute_metric.h:22: error: expected `;' before ‘transform’
home/mort/lib/compute_metric
Nevermind worked on a wrong copy, it now works!
On Wed, Sep 30, 2009 at 1:00 PM, motes motes wrote:
> I have just created a build folder for an application using ITK with
> CMake on Ubuntu 9.04.
>
> I have then entered the build folder from a terminal and typed 'make'.
> I then get a list of
Are you using "FILE(WRITE"...?
What version of CMake?
This should work. Send the CMake code snippet you are using to try to do
this so that we can see what might be wrong.
If using older CMake (2.4.something) then you may have to do:
set(DOLLAR "$")
file(WRITE blah "${DOLLAR}{varNameHere}")
The problem is I'm working on quite a big project, and it was not written
initially by me. I don't know about the "FILE(WRITE", but here's what I'm doing:
- In the CMakelists, I'm calling a macro with one of the parameters being what I
want in my attribute (in that case "${do_not_evaluate}").
- Thi
so if you have this: macro(blah arg1)
message("==${arg1}==")
endmacro(blah)
blah("${do_not_evaluate}")
blah("\${do_not_evaluate}")
blah("\\\${do_not_evaluate}")
you should see:
==${do_not_evaluate}==
I'm using CMake 2.6.4 to get these results. I think 2.4.8 should give you
Ok, maybe I didn't escape enough when testing... Anyway, I've just gone with the
code way, tagging my variable and replacing it in my custom generator in that
specific case, and it's working nicely, so that will do for now...
And moreover, it saves me from simplifying and posting code, 'cause it's
Mathieu Malaterre wrote:
>> /opt/ibmcmp/vacpp/9.0/bin/cc -DHAVE_GETHOSTBYNAME_R_5 -o
>> CMakeFiles/cmTryCompileExec.dir/CurlTests.c.o -c
>> "/home/mmalater/Dashboards/My
>> Tests/CMakeXLC/Utilities/cmcurl/CMake/CurlTests.c"
> "/home/mmalater/Dashboards/My
> Tests/CMakeXLC/Utilities/cmcurl/
Hendrik,
I actually am using your scripts, but on Windows XP and that's where I'm having
the troubles. Everything works except that last step. I print out the
XSL_TRANSFORM_COMMAND right before add_custom_command:
-- XSL_TRANSFORM_COMMAND =
C:/WINDOWS/system32/java.exe;-cp;:C:/opt/saxon6-5-5
On 9/29/09 3:36 PM, Bill Hoffman said:
>> 116/1144 Test #116:
>> itkStatisticsAlgorithmTest ..
>> ...***Exception: SegFault29491.00 sec
>>
>> 8 hours is more than my timeout for sure! :)
>>
>> If I rerun the test it passes quickly. :(
>>
>> Anyone seen t
Zitat von "Dixon, Shane" :
I actually am using your scripts, but on Windows XP and that's where
I'm having the troubles. Everything works except that last step.
I print out the XSL_TRANSFORM_COMMAND right before
add_custom_command:
-- XSL_TRANSFORM_COMMAND =
C:/WINDOWS/system32/java
I have the exact same problem.
I have several projects and I want to statically link one of them with
the Visual C++ libraries.
i.e I want to replace the Visual C++ /MD flag by /MT only in this
specific projet, not the others.
> Can you do something like this:
>
> set (CMAKE_CXX_FLAGS_ORIG CMAKE_
Wow, nice bump.
On Wed, Sep 30, 2009 at 05:58:50PM +0200, Tanguy Krotoff wrote:
> I have several projects and I want to statically link one of them with
> the Visual C++ libraries.
> i.e I want to replace the Visual C++ /MD flag by /MT only in this
> specific projet, not the others.
>
> > Can you
On Wed, Sep 30, 2009 at 6:02 PM, Tyler Roscoe wrote:
> Wow, nice bump.
:)
have searched for my problem, found this thread. That's why sometimes
web forums are more suitable.
> On Wed, Sep 30, 2009 at 05:58:50PM +0200, Tanguy Krotoff wrote:
>> I have several projects and I want to statically link
Am Mittwoch 30 September 2009 16:22:25 schrieb Dixon, Shane:
> Any suggestions on how you got this working in Windows XP? Don't you get
> parsing errors from java.exe? If I change the ":" to ";" in the above
> command for the -cp argument, everything works.
Try the patch at
http://gitorious.or
On Wed, Sep 30, 2009 at 06:18:04PM +0200, Tanguy Krotoff wrote:
> project(rimes_http_request)
>
> # Statically link with Visual C++ libraries
> if (MSVC)
> foreach (MODE "_DEBUG" "_MINSIZEREL" "_RELEASE" "_RELWITHDEBINFO")
> string(REPLACE "/MD" "/MT" TMP "${CMAKE_C_FLAGS${MODE
On Wed, Sep 30, 2009 at 8:08 PM, Tyler Roscoe wrote:
> So the first change, where you change from /MD to /MT, does work, but
> the second change, where you change /MT back to /MD, does not work?
Exactly
> When I do this trick, I don't mess with the value in the cache; I just
> change CMAKE_C_FLA
On Sat, Sep 26, 2009 at 11:30 PM, Jesse Beder wrote:
> I'm using the following syntax to set certain build settings on a
> per-configuration basis:
>
> set(CMAKE_CONFIGURATION_TYPES Debug Release Distribution)
> set(CMAKE_CXX_FLAGS_DISTRIBUTION "-Os")
>
> and also setting specific Xcode properties
On Wed, Sep 30, 2009 at 08:17:43PM +0200, Tanguy Krotoff wrote:
> On Wed, Sep 30, 2009 at 8:08 PM, Tyler Roscoe wrote:
> > So the first change, where you change from /MD to /MT, does work, but
> > the second change, where you change /MT back to /MD, does not work?
>
> Exactly
>
> > When I do thi
On Wednesday 30 September 2009, Marcel Loose wrote:
> On Tue, 2009-09-29 at 19:46 -0400, Bill Hoffman wrote:
> > Alan W. Irwin wrote:
> > > On 2009-09-29 16:36-0400 Bill Hoffman wrote:
> > >> make -j N is only supported with the all target.
> > >
> > > How difficult would it be to implement paralle
Hendrik,
That fixed it. Thank you!
--
Shane
-Original Message-
From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of
Hendrik Sattler
Sent: Wednesday, September 30, 2009 12:00 PM
To: cmake@cmake.org
Cc: Dixon, Shane
Subject: Re: [CMake] Problems with ";" turning in
On Wednesday 30 September 2009 21:16:10 Alexander Neundorf wrote:
> On Wednesday 30 September 2009, Marcel Loose wrote:
> > On Tue, 2009-09-29 at 19:46 -0400, Bill Hoffman wrote:
> > > Alan W. Irwin wrote:
> > > > On 2009-09-29 16:36-0400 Bill Hoffman wrote:
> > > >> make -j N is only supported wit
Hello,
I am trying to implement support for a new language compiler but I'm
having difficulty with link phase.
The problem is that I need to split the link step into two different
commands and filter the objects that are sent to each linker.
Currently cmake is generating a command like:
c++ -o
On Mon, Sep 21, 2009 at 2:22 PM, Wojciech Migda wrote:
> Daniel Blezek pisze:
> > We tackled this using a "hack-ish" CMake command for Google Tests
> > that found all our tests in the source code, and generated CTest
> > commands for them. You could do a similar thing on a test suite.
> > Details
32 matches
Mail list logo