Re: [CMake] [cmake-developers] Forwarding parameters to cmake through cmake-gui

2013-11-05 Thread David Cole
> On Nov 5, 2013, at 6:40 PM, Matthew Woehlke > wrote: > >> On 2013-11-05 17:40, David Cole wrote: >> I would simply like to point out, with all due respect, that in the >> non-CLI use case, it is IMPOSSIBLE to pass command line parameters. > > 1. I can modify my shortcut / .desktop file (whi

Re: [CMake] [cmake-developers] Forwarding parameters to cmake through cmake-gui

2013-11-05 Thread Matthew Woehlke
On 2013-11-05 17:40, David Cole wrote: I would simply like to point out, with all due respect, that in the non-CLI use case, it is IMPOSSIBLE to pass command line parameters. 1. I can modify my shortcut / .desktop file (which I previously stated as a use case for the feature). 2. I can launc

Re: [CMake] [cmake-developers] Forwarding parameters to cmake through cmake-gui

2013-11-05 Thread David Cole
As I see it, folks that are used to cmake/ccmake tend to want cmake-gui to work more like that. Whereas folks that are used to doing everything from GUI's and hardly if ever touch a command line want it to work like we're suggesting. Both points of view are IMO valid (though I tend towards g

Re: [CMake] [cmake-developers] Forwarding parameters to cmake through cmake-gui

2013-11-05 Thread physhh .
Wouldn't it then be possible to write a simple shell script for those people who really want that use case which calls cmake with -U and afterwards call cmake-gui? Sorry if I didn't understood it as it was ment. For me the thing is: I prefer a simple solution which allows the same stuff which is

Re: [CMake] [cmake-developers] Forwarding parameters to cmake through cmake-gui

2013-11-05 Thread physhh .
On Tue, Nov 5, 2013 at 8:56 PM, Matthew Woehlke wrote: > On 2013-11-05 14:36, Alexander Neundorf wrote: > >> I tried the following a few times in the past and noticed everytime that >> it >> does not work: >> $ cd src >> src/ $ mkdir build >> src/ $ cd build >> src/build/ $ cmake-gui -DSOME_VARIA

Re: [CMake] [cmake-developers] Forwarding parameters to cmake through cmake-gui

2013-11-05 Thread Matthew Woehlke
On 2013-11-05 09:25, David Cole wrote: Matthew Woehlke wrote: - What should happen with a -D option if there is not initially a build directory selected? It should add UI entries even though there is no build directory selected, and set them according to the -D values. Then, the -D values shou

Re: [CMake] [cmake-developers] Forwarding parameters to cmake through cmake-gui

2013-11-05 Thread physhh .
+1 for Mathews solution. To bad it's just on the developers list. I will simply cite him: On 2013-11-04 15:47, David Cole wrote: >>* My question is still not answered completely: ** When should the new variable be added? On startup is not really *>>* possible because it might be the case that

Re: [CMake] spoof "Not Run" dashboard status

2013-11-05 Thread burlen
On 11/04/2013 10:49 PM, Rolf Eike Beer wrote: Am Montag, 4. November 2013, 16:09:04 schrieb burlen: Can a test return a value to indicate that it could not be run? http://cmake.org/Bug/view.php?id=8466 Thanks for pointing this out, I think that would be a very useful feature. -- Powered by

Re: [CMake] INSTALL_COMMAND for ExternalProject not overriding the install step

2013-11-05 Thread Chris Morgan
Doh. I guess I assumed that would have been kicked out earlier when I ran 'cmake ../". Thank you, that works now. Sorry for the noise. Chris On Tue, Nov 5, 2013 at 10:20 AM, Julien Malik wrote: > INSTALL_COMMMAND -> INSTALL_COMMAND (with only 2 'M') ? > > > On 11/05/2013 04:16 PM, Chris Morga

Re: [CMake] INSTALL_COMMAND for ExternalProject not overriding the install step

2013-11-05 Thread Julien Malik
INSTALL_COMMMAND -> INSTALL_COMMAND (with only 2 'M') ? On 11/05/2013 04:16 PM, Chris Morgan wrote: > Hello. > > I'm using ExternalProject to build a CMakeLists.txt in a subdirectory. > This subdirectory is used by other applications, files are included > from that subdirectory directly, but tha

[CMake] INSTALL_COMMAND for ExternalProject not overriding the install step

2013-11-05 Thread Chris Morgan
Hello. I'm using ExternalProject to build a CMakeLists.txt in a subdirectory. This subdirectory is used by other applications, files are included from that subdirectory directly, but that subdirectory doesn't install anything but does contain the unit tests for the files in that directory and I'd

Re: [CMake] [cmake-developers] Forwarding parameters to cmake through cmake-gui

2013-11-05 Thread David Cole
My question is still not answered completely: When should the new variable be added? On startup is not really possible because it might be the case that your src/binary directory is not set properly. So you would agree that it makes sense to do it "on configure" but only if the cache is empty? T

Re: [CMake] [cmake-developers] Forwarding parameters to cmake through cmake-gui

2013-11-05 Thread David Cole
Would it makes sense to have cmake-gui behaving like ccmake ? After all there are both "UI". It would accept the same set of options:   -C     -D :=   -U   -G -T   It would appear that ccmake is behaving incorrectly with respect to -D processing... http://publi

[CMake] Install multiple components using CPack

2013-11-05 Thread Alexander Broekhuis
Hi all, I have a CMake project for which I want to generate a RPM and/or ZIP file. But instead of including all components/groups I want to control this. I do know I can create a CPack configuration file to create a package for 1 component using CPACK_INSTALL_CMAKE_PROJECTS, how can I do this for

Re: [CMake] Custom Toolchain & CMAKE_MAKE_PROGRAM

2013-11-05 Thread Michael Weise
On Tue, 5 Nov 2013 10:49:05 +0100 Michael Weise wrote: > I'm new to CMake, so I guess it's a misunderstanding on my > side of how CMake works. What's going on here? I found the answer myself here: http://stackoverflow.com/questions/5006286/cmake-set-doesnt-work-on-same-variable-after-find-path-w

[CMake] Custom Toolchain & CMAKE_MAKE_PROGRAM

2013-11-05 Thread Michael Weise
Hi, I'm trying to use cmake with a bare metal coldfire project. The cross compiler (m68k-elf-gcc) running in msys (Win7x64) is working fine. Now I want to use the CMake GUI (2.8.12) for the project. I've started with a simple CMakeLists.txt and a custom toolchain file that starts with these lines