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

2013-11-06 Thread Jean-Christophe Fillion-Robin
+1 I like the idea of the ["Apply Command Line Parameters" button appear whenever -Dvar=value parameters were passed.] Would also be nice if parameter like "-G" ... could also be considered for the first configuration. Within some of our project, I envision user downloading a "bat" script named "

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

2013-11-06 Thread Brad King
On 11/06/2013 02:55 PM, physhh . wrote: > How should we proceed? I think Mathew understood what's my problem. This thread has covered use cases in which it makes sense to apply (or not apply) command-line parameters in cmake-gui for various cases. No one automatic behavior is going to satisfy eve

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

2013-11-06 Thread physhh .
Well I've tried to make the problem as clear as possible but somehow it seems it still wasn't clear enough. In my opinion the solution which was proposed by Mathew was also pretty clear - also not absolutly complete as he stated himself. How should we proceed? I think Mathew understood what's my p

[CMake] Elegant solution for preprocessing a linker script?

2013-11-06 Thread Michael Weise
Hello, I'm looking for a way to preprocess a linker script. After (unsuccessfully) trying add_custom_command() I found this explanation and a workaround: http://www.mail-archive.com/cmake@cmake.org/msg16496.html It uses an intermediate dependency "dummy.c" in the source list of the executable,

[CMake] CMake include file but skip the ZERO_CHECK cache

2013-11-06 Thread Cristian Bidea
Hi I’m using the eval function from http://www.cmake.org/Wiki/CMake/Language_Syntax#Substitution_of_command_names The command creates a temporary file and then it includes the file. In this way one can execute cmake commands from arbitrary strings. However when including a cmake file that file