I have an old sparc system running Linux on which I am trying to compile
CMake. I am able to bootstrap just fine, but when I run make, I get the
following error:
Building C object Utilities/cmcurl/CMakeFiles/cmcurl.dir/select.o
~/cmake-2.8.4/Utilities/cmcurl/select.c:39:2: error: #error "We can't
On 07/14/2011 12:54 AM, Jens Mueller wrote:
> Michael Hertling wrote:
>> On 07/11/2011 11:34 PM, Jens Mueller wrote:
>>> Hi,
>>>
>>> I'm trying to figure out where the path for a found library is changed.
>>> In my case Curses is found at /usr/lib/libcurses.so. When linking with
>>> gcc "/usr/lib/l
Ah, so does that mean that it is escaping the space, similar to --username\
MyUserName ?
Aaron Meadows
-Original Message-
From: David Cole [mailto:david.c...@kitware.com]
Sent: Wednesday, July 13, 2011 4:09 PM
To: Meadows, Aaron C.
Cc: cmake@cmake.org
Subject: Re: [CMake] Issues with e
On 07/13/2011 10:56 AM, Florian Reinhard wrote:
> Hi!
>
> Problem:
> I need to have a linker command file among the list of object files in
> a fixed order.
>
> Setup:
> Cmake 2.8.5
> custom non-gnu texas instruments cl6x toolchain
>
> Ideas:
> I figured that the object files list which one spec
Michael Hertling wrote:
> On 07/11/2011 11:34 PM, Jens Mueller wrote:
> > Hi,
> >
> > I'm trying to figure out where the path for a found library is changed.
> > In my case Curses is found at /usr/lib/libcurses.so. When linking with
> > gcc "/usr/lib/libcurses.so" is replaced by "-lcurses" as it i
It boils down to this:
set(args --username MyUserName)
# sets args to a list with two elements
set(args "--username MyUserName")
# sets args to a list with one element: a string containing a space
execute_process(COMMAND blah ${args})
# calls the command "blah" expanding the n-element CMake list
It looks like OgreTut must have a subdirectory named CONF=Release.
Which is unfortunate, because the fix for this bug:
http://public.kitware.com/Bug/view.php?id=11689
simply disallows "=" characters in the source directory names.
I'm afraid the only solution here is to rename that directory.
It would be VERY nice to be able to load/save cache files from the GUI
Dominik
On Wed, Jul 13, 2011 at 7:20 PM, Michael Wild wrote:
> On 07/13/2011 02:56 PM, frank kang wrote:
>> Dear all,
>>
>> Is there a way to save/restore options/settings?
>> For example, we can save/restore respective s
That works! Thanks!
Any idea why the other way was causing issues?
Aaron Meadows
-Original Message-
From: David Cole [mailto:david.c...@kitware.com]
Sent: Wednesday, July 13, 2011 1:06 PM
To: Meadows, Aaron C.
Cc: cmake@cmake.org
Subject: Re: [CMake] Issues with execute_process and sv
That's not what I'm using it for, but thanks for the suggestion.
Aaron Meadows
From: Jean-Christophe Fillion-Robin [mailto:jchris.filli...@kitware.com]
Sent: Wednesday, July 13, 2011 1:49 PM
To: David Cole
Cc: Meadows, Aaron C.; cmake@cmake.org
Subject: Re: [CMake] Issues with execute_p
Hello to all,
I'm trying to use CMake with Netbeans 6.9. I'm working with Ogre3D and they
provided a CMakeLists.txt file. Everything works fine via cmake-gui.exe (CMake
v2.8), but when I attempt to build my project in Netbeans, it spits out:
CMake Error:
The path to the source directory:
Hi Aaron,
Not sure if ti will help, but
Have you looked at using ExternalProject.cmake to checkout, configure and
build project using CMake ?
Hth
Jc
On Wed, Jul 13, 2011 at 2:05 PM, David Cole wrote:
> Take the double quotes off the set commands for your args variables.
> And put spaces i
Hi Yuri,
thanks for the feedback,
These flags used by CMake internally to properly handle dependencies
(as I can tell from source code). LinkLibraryDependencies is turned on
when your target depends on target added wihth
include_external_msproject. As for UseLibraryDependencyInputs - you
can
On Wed, Jul 13, 2011 at 12:10 PM, Alexander Neundorf
wrote:
> On Wednesday 13 July 2011, Daniel Pfeifer wrote:
>> 2011/7/13 Andreas Pokorny
>>
>> > Such an improvement would be very welcome.. but.. have you considered a
>> > different user interface?
>>
>> Yes, i have considered that.
>>
>> > E.g
Take the double quotes off the set commands for your args variables.
And put spaces in between the dereferences of those vars in the
execute_process command.
Like this:
# No double quotes here:
if(NOT $ENV{CMAKE_SVN_USERNAME} STREQUAL "")
set(_SvnCredPart --no-auth-cache)
set(_SvnUserPart --u
Hi all,
I've been having a devil of a time with executing SVN with
execute_process. Basically, I need to read environment variables to
specify the username and password for builds on our build server (where
we do not cache credentials).
I've made several attempts at this, and have been foi
On 07/13/2011 02:56 PM, frank kang wrote:
> Dear all,
>
> Is there a way to save/restore options/settings?
> For example, we can save/restore respective settings conveniently for
> different product release in complex cmake.
>
> Thanks!
Perhaps a cache-initialization file is what you are lookin
On Wednesday 13 July 2011, Daniel Pfeifer wrote:
> 2011/7/13 Andreas Pokorny
>
> > Such an improvement would be very welcome.. but.. have you considered a
> > different user interface?
>
> Yes, i have considered that.
>
> > E.g. take a look at static libraries, CMake already
> > does transitive
2011/7/13 Andreas Pokorny
> Hi,
>
> 2011/7/13 Daniel Pfeifer :
> > 2011/7/13 Andreas Pokorny
> >> [...]
> >> add_library(foo )
> >> target_include_paths(foo include/foo )
> >> target_include_targets(foo bar)
> >
> > target_include_targets would not even be required, target_link_libraries
> >
Dear all,
Is there a way to save/restore options/settings?
For example, we can save/restore respective settings conveniently for
different product release in complex cmake.
Thanks!
___
Powered by www.kitware.com
Visit other Kitware open-source projects
Hi Bill,
Thank you for your quick reponse and the link!
2011/7/12 Bill Hoffman :
> Here is a link to the thread:
>
> http://comments.gmane.org/gmane.comp.gnu.make.windows/3223
Unfortunately that patch doesn't work for me gmake doesn't start any jobs.
if i comment line 256 (in the patch)
job_slo
David Cole wrote:
> The target property TYPE tells you what the type of the library is:
>
> http://cmake.org/cmake/help/cmake-2-8-docs.html#prop_tgt:TYPE
>
> Use:
>
> get_property(type TARGET ${SOME_TARGET} PROPERTY TYPE)
> message("type='${type}'")
>
> to retrieve the value of the TYPE
On Wed, Jul 13, 2011 at 4:12 AM, Julien Jomier
wrote:
> Hi Michele,
>
> Thanks for the clarification. That sounds like a CTest issue, I'm CCing Dave
> Cole, he might have an answer.
>
> Julien
>
> On 12/07/2011 20:28, Michele Caramello wrote:
>>
>> Hi Julien,
>>
>> thanks for your reply.
>>
>> No
Hi,
2011/7/13 Daniel Pfeifer :
> 2011/7/13 Andreas Pokorny
>> [...]
>> add_library(foo )
>> target_include_paths(foo include/foo )
>> target_include_targets(foo bar)
>
> target_include_targets would not even be required, target_link_libraries
> could handle that. Whenever a target is linked t
Hi!
Problem:
I need to have a linker command file among the list of object files in
a fixed order.
Setup:
Cmake 2.8.5
custom non-gnu texas instruments cl6x toolchain
Ideas:
I figured that the object files list which one specifies as
in CMAKE_C_LINK_EXECUTABLE are sorted in the way they are fed
2011/7/13 Andreas Pokorny
> Such an improvement would be very welcome.. but.. have you considered a
> different user interface?
Yes, i have considered that.
> E.g. take a look at static libraries, CMake already
> does transitive dependency resolution (if i am not mistaken). It also
> differs
2011/7/12 Jean-Christophe Fillion-Robin
> Hi Daniel,
>
> This sounds like a great feature :), do you think you could also associate
> a test with your changes ?
>
Done. I have updated the test and the documentation. Everything is in the
'genexp' branch of git://github.com/purpleKarrot/CMake.git
Hi,
We came across this problem too with our project. We fixed it by
reducing the cases of circular header dependencies, and we use
variables cache to assemble the include variables. We wrapped the
set command into a unique_set that ensures that no value is added
twice. Still we have to run cmake
28 matches
Mail list logo