I'm trying to convert an embedded eclipse project to CMake with a
python script.
I reached a point where everything compile as I want, everything get
listed in the linking step but libraries are in the wrong order and
linking fail.
Just reordering the libraries list and running the linking proces
sorry and I should ask; after reading a bit more context;
why are you using cmake-gui if you have -D's to pass already?
but the macro does allow you to export them to the environment
instead; it doesn't update what was configured though; and actually
most places I use the same macro but without t
I have a macro . (maybe it has a horrible name...)
macro( DEFINE_DEFAULT variable default )
if( NOT DEFINED ${variable} )
#message( "variable ${variable} not defined (command line)" )
set( ${variable} $ENV{${variable}} CACHE STRING "no description
available")
if( "${${v
The question is: What is the expected behavior?
Execute it per configure but don't overwrite variables? What if one really
wants to overwrite?
Execute it once every time the binary directory changes? Changing stuff
only through setting the path is bad.
Other possiblities?
On Sat, Nov 2, 2013 at
On 2013-11-01 19:39, Matthew Woehlke wrote:
On 2013-11-01 17:35, physhh . wrote:
I've tried to implement it in the same way as CCMake seem to do it.
Because I can't compare it =>
Could somone with access to ccmake test this:
- Start CCMake with -D foo=123
- Configure
- Question: Is foo displayed
On 2013-11-01 17:35, physhh . wrote:
I've tried to implement it in the same way as CCMake seem to do it.
Because I can't compare it =>
Could somone with access to ccmake test this:
- Start CCMake with -D foo=123
- Configure
- Question: Is foo displayed in the variable list?
Yes.
- Add/Edit fo
Current patch:
http://pastebin.com/DfGZtGQT
On Fri, Nov 1, 2013 at 10:35 PM, physhh . wrote:
> I've tried to implement it in the same way as CCMake seem to do it.
> Because I can't compare it =>
> Could somone with access to ccmake test this:
> - Start CCMake with -D foo=123
> - Configure
> - Q
On Fri, 1 Nov 2013 20:08:05 +0100
Alexander Neundorf wrote:
> and the name of the library target ? Still crt0 or something else ?
BTW I'm using 2.8.11.2 in Debian sid
--
Ivan Sergio Borgonovo
http://www.webthatworks.it
--
Powered by www.kitware.com
Please keep messages on-topic and check th
I've tried to implement it in the same way as CCMake seem to do it.
Because I can't compare it =>
Could somone with access to ccmake test this:
- Start CCMake with -D foo=123
- Configure
- Question: Is foo displayed in the variable list?
- Add/Edit foo to some other value
- Configure
- Question: Wa
On Fri, 1 Nov 2013 20:08:05 +0100
Alexander Neundorf wrote:
> On Friday 01 November 2013, Ivan Sergio Borgonovo wrote:
> > On Fri, 1 Nov 2013 17:36:33 +0100
> >
> > Alexander Neundorf wrote:
> > > > If it was supposed to work right out of the box without fiddling
> > > > with
> > >
> > > havin
On Friday 01 November 2013, Ivan Sergio Borgonovo wrote:
> On Fri, 1 Nov 2013 17:36:33 +0100
>
> Alexander Neundorf wrote:
> > > If it was supposed to work right out of the box without fiddling
> > > with
> >
> > having to set the LANGUAGE is expected for unusual file extensions.
> > With that,
On 2013-11-01 11:39, physhh . wrote:
that's interesting. I'm currently at a windows only machine so i can't
check out ccmake but can only lookup the source. It appears that ALL
parameters get "forwarded" to cmake - at least that's what
cmCursesMainForm.cxx:52
this->CMakeInstance->SetArgs(this->
On Fri, 1 Nov 2013 17:36:33 +0100
Alexander Neundorf wrote:
> > If it was supposed to work right out of the box without fiddling
> > with
> having to set the LANGUAGE is expected for unusual file extensions.
> With that, it should work.
That's OK. I just had to understand how.
> Could you try
Yes but not all cmake projects which I build are mine. So i would still
have to modify a CMakeLists from someone else, which is in my opinion a bad
thing.
When you have the possiblity to inject cmake stuff without modifying the
project itself you can implement a clean separation between project
dep
On Friday 01 November 2013, Ivan Sergio Borgonovo wrote:
> On Fri, 1 Nov 2013 12:58:32 +0100
>
> Alexander Neundorf wrote:
> > On Friday 01 November 2013, Ivan Sergio Borgonovo wrote:
> > > On Fri, 1 Nov 2013 11:37:10 +0100
> > >
> > > Alexander Neundorf wrote:
> > > > so crt0.x is the missing
> +1 for updating cmake-gui to work equally to ccmake
>
> But my opinion regarding CMAKE_MODULE_PATH is different. The problem is that
> alot of the default find-modules don't work because the dependency is not in
> the location where the find-module expects it. Currently there are only two
> worka
+1 for updating cmake-gui to work equally to ccmake
But my opinion regarding CMAKE_MODULE_PATH is different. The problem is
that alot of the default find-modules don't work because the dependency is
not in the location where the find-module expects it. Currently there are
only two workarounds:
- C
On 11/1/2013 10:47 AM, physhh . wrote:
If cmake is used directly from the command line, it's possible to pass a
bunch of options
(http://www.cmake.org/cmake/help/v2.8.12/cmake.html#section_Options).
This is nice because with this it's possible to use default settings -
even if the cache get delet
Hey Matthew,
that's interesting. I'm currently at a windows only machine so i can't
check out ccmake but can only lookup the source. It appears that ALL
parameters get "forwarded" to cmake - at least that's what
cmCursesMainForm.cxx:52
> this->CMakeInstance->SetArgs(this->Args);
looks to me.
Why
On 2013-11-01 10:47, physhh . wrote:
What I'm looking for:
If cmake is used directly from the command line, it's possible to pass a
bunch of options. This is nice because with this it's possible to use
default settings - even if the cache get deleted.
ccmake accepts e.g. -D options to set CMake
Hi,
More specifically, it could be an entry named "More Options ..." in the
already available "Options" menu. Or you could simply expose more command
line option directly in that menu.
Jc
On Fri, Nov 1, 2013 at 11:05 AM, physhh . wrote:
> Hi Jean,
> I'm not quite sure I've understood your fee
Hi Jean,
I'm not quite sure I've understood your feedback correctly. You mean it
would be nice to add a panel to the gui which lists all forwarded options
with description text?
Will try to create a patch for this.
Thanks for your time
On Fri, Nov 1, 2013 at 3:52 PM, Jean-Christophe Fillion-Rob
Hi Physhh,
I like the idea. Instead, a gui panel (with tooltips, doc, ...) should be
autogenerated from the option associated to the corresponding cmake
executable.
Would be happy to review changes / patches.
Thanks
Jc
On Fri, Nov 1, 2013 at 10:47 AM, physhh . wrote:
> I've already searched
I've already searched for a feature like this but was not able to find it.
Then i've looked up in the cmake-gui source code but couldn't find anything
related.
What I'm looking for:
If cmake is used directly from the command line, it's possible to pass a
bunch of options (
http://www.cmake.org/cma
On Fri, 1 Nov 2013 12:58:32 +0100
Alexander Neundorf wrote:
> On Friday 01 November 2013, Ivan Sergio Borgonovo wrote:
> > On Fri, 1 Nov 2013 11:37:10 +0100
> >
> > Alexander Neundorf wrote:
> > > so crt0.x is the missing one, right ?
> > > Are you sure it is not compiled ?
> >
> > Absolutely.
On Friday 01 November 2013, Ivan Sergio Borgonovo wrote:
> On Fri, 1 Nov 2013 11:37:10 +0100
>
> Alexander Neundorf wrote:
> > so crt0.x is the missing one, right ?
> > Are you sure it is not compiled ?
>
> Absolutely. Once I've added
> add_dependencies(someotherasm crt0.x)
> crt0.x got compiled
On Fri, 1 Nov 2013 11:37:10 +0100
Alexander Neundorf wrote:
> so crt0.x is the missing one, right ?
> Are you sure it is not compiled ?
Absolutely. Once I've added
add_dependencies(someotherasm crt0.x)
crt0.x got compiled BUT not linked.
But even after I succede to compile libcrt0.a and even if
On Thursday 31 October 2013, Ivan Sergio Borgonovo wrote:
> On Thu, 31 Oct 2013 21:17:11 +0100
>
> Alexander Neundorf wrote:
> > On Thursday 31 October 2013, Ivan Sergio Borgonovo wrote:
> > > On Thu, 31 Oct 2013 18:01:29 +0100
> > >
> > > Alexander Neundorf wrote:
> > > > Did you try setting t
28 matches
Mail list logo