RE: [CMake] Problem in ADD_CUSTOM_COMMAND

2008-02-13 Thread Malhotra, Anupam
Hi I tried executing the copy command manually from my command window. It works fine and copies the library to the desired location. Also the Post Build setup does not show anything after the dsw is created by cmake. Please suggest? Thanks and Regards Anupam Malhotra -Original Message-

RE: [CMake] Problem in ADD_CUSTOM_COMMAND

2008-02-13 Thread Malhotra, Anupam
A strange thing is happening in ADD_CUSTOM_COMMAND. I am giving the following command in CMakeLists.txt: ADD_CUSTOM_COMMAND(TARGET vpcl POST_BUILD MAIN_DEPENDENCY vpcl COMMAND copy $(TargetPath) ${PROJECT_SOURCE_DIR_UPDATED} But when the dsw and dsp is being generated the command

Re: [CMake] Problem in ADD_CUSTOM_COMMAND

2008-02-13 Thread Sylvain Benner
Malhotra, Anupam a écrit : Also the Post Build setup does not show anything after the dsw is created by cmake. Please suggest? The post build step in Visual Studio 6 is added at the project level (dsp), not at the workspace level (dsw). Can you try to generate for Visual Studio 2003 or

Re: [CMake] Problem in ADD_CUSTOM_COMMAND

2008-02-13 Thread Sylvain Benner
Is there any other way apart from GET_TARGET_PROPERTY by which I can locate the exact path (without ${IntDir} in the path) of my library? Try $(ConfigurationName) to reference the targeted build directory, I'm not sure it is available in Visual Studio 6 but is likely to exist.

[CMake] @MY_VAR@ are replaced by empty string !

2008-02-13 Thread Martin Lütken
SHORT: It's seems impossible to contruct a string containing something like this: @MY_VAR@. The whole thing gets replaced by an empty string regardless whether the MY_VAR variable is set or not. It is possible to create a string like @ MY_VAR@, but that is not quite the same. ACTUAL PROBLEM

[CMake] ADD_CUSTOM_COMMAND Bug

2008-02-13 Thread Malhotra, Anupam
Hi I have a ADD_CUSTOM_COMMAND in my CMakeLists.txt. the command looks something like this: ADD_CUSTOM_COMMAND(TARGET vpcl POST_BUILD MAIN_DEPENDENCY vpcl COMMAND copy ${vpcl_path_updated} ${PROJECT_SOURCE_DIR_UPDATED} VERBATIM) Here ${vpcl_path_updated} is :

[CMake] FindwxWidgets: couldn't find path on windows

2008-02-13 Thread Steven Van Ingelgem
Hi, FIND_PATH (line 378) couldn't find the path to my wxWidgets installation because it was checking the registry key of the installation. This directory didn't exist anymore, but I would expect the FIND_PATH function to continue searching until a directory has been found that matched (which it

[CMake] CMake Qt GUI Beta windows binary available for testing

2008-02-13 Thread Bill Hoffman
The most recent CVS windows binary packages the new Qt based CMake GUI. It can be found here: http://www.cmake.org/files/vCVS/cmake-2.5.20080213-win32-x86.exe The qt-gui is linked in the start menu as cmake-gui (beta). The old MFC gui is still included and is called CMake in the start menu.

Re: [CMake] CMake Qt GUI Beta windows binary available for testing

2008-02-13 Thread John Biddiscombe
Bill I've been using this for a few weeks and have only one suggestion so far... When deleting multiple entries, one has to click on it, then click on delete, then click on the next, then click on delete...etc etc the linux text based gui lets you del,del,del,del and (for example) remove all

Re: [CMake] CMake Qt GUI Beta windows binary available for testing

2008-02-13 Thread Bill Hoffman
John Biddiscombe wrote: Bill I've been using this for a few weeks and have only one suggestion so far... When deleting multiple entries, one has to click on it, then click on delete, then click on the next, then click on delete...etc etc Just select multiple entries. Shift click, then

Re: [CMake] CMake Qt GUI Beta windows binary available for testing

2008-02-13 Thread John Biddiscombe
Just select multiple entries. Shift click, then click on remove entry, it can remove as many entries as you select. Wow - Multiple selection. Thanks JB ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] @MY_VAR@ are replaced by empty string !

2008-02-13 Thread Brandon Van Every
2008/2/13 Martin Lütken [EMAIL PROTECTED]: SHORT: It's seems impossible to contruct a string containing something like this: @MY_VAR@. The whole thing gets replaced by an empty string regardless whether the MY_VAR variable is set or not. Well, I'm not sure I've resolved your bug, but I

Re: [CMake] ADD_CUSTOM_COMMAND Bug

2008-02-13 Thread Brandon Van Every
2008/2/13 Malhotra, Anupam [EMAIL PROTECTED]: Please notice that $(IntDir) is automatically changed to $(IntDir) in the actual post build setup. Can anyone please tell me if this is a bug in cmake? Looks like a bug to me. File it. Cheers, Brandon Van Every

Re: [CMake] ADD_CUSTOM_COMMAND Bug

2008-02-13 Thread Bill Hoffman
Malhotra, Anupam wrote: Hi I have a ADD_CUSTOM_COMMAND in my CMakeLists.txt. the command looks something like this: ADD_CUSTOM_COMMAND(TARGET vpcl POST_BUILD MAIN_DEPENDENCY vpcl COMMAND copy ${vpcl_path_updated} ${PROJECT_SOURCE_DIR_UPDATED} VERBATIM) Here ${vpcl_path_updated} is :

Re: [CMake] @MY_VAR@ are replaced by empty string !

2008-02-13 Thread Bill Hoffman
Martin Lütken wrote: SHORT: It's seems impossible to contruct a string containing something like this: @MY_VAR@. The whole thing gets replaced by an empty string regardless whether the MY_VAR variable is set or not. It is possible to create a string like @ MY_VAR@, but that is not quite the

[CMake] Additional Find* modules for Pthreads, Magick++, CxxTest

2008-02-13 Thread Philip Lowman
I submitted a few find modules to the tracker that I thought might be useful to others. I'll volunteer to maintain them if someone wants to check them in. http://www.cmake.org/Bug/view.php?id=6339 -- Philip Lowman Sr. Simulation Development Engineer, Modeling and Simulation Technology General

Re: [CMake] EXECUTABLE_OUTPUT_PATH vs CMAKE_RUNTIME_OUTPUT_DIRECTORY

2008-02-13 Thread Philip Lowman
Filipe Sousa wrote: I have been using EXECUTABLE_OUTPUT_PATH but I recently found that CMAKE_RUNTIME_OUTPUT_DIRECTORY can do the same. Is EXECUTABLE_OUTPUT_PATH going to be deprecated in 2.6? Does CMAKE_RUNTIME_OUTPUT_DIRECTORY affect where .EXE files get placed or only DLL files? -- Philip

Re: [CMake] EXECUTABLE_OUTPUT_PATH vs CMAKE_RUNTIME_OUTPUT_DIRECTORY

2008-02-13 Thread Alexander Neundorf
On Wednesday 13 February 2008, Philip Lowman wrote: Filipe Sousa wrote: I have been using EXECUTABLE_OUTPUT_PATH but I recently found that CMAKE_RUNTIME_OUTPUT_DIRECTORY can do the same. Is EXECUTABLE_OUTPUT_PATH going to be deprecated in 2.6? Does CMAKE_RUNTIME_OUTPUT_DIRECTORY affect

Re: [CMake] EXECUTABLE_OUTPUT_PATH vs CMAKE_RUNTIME_OUTPUT_DIRECTORY

2008-02-13 Thread Filipe Sousa
Philip Lowman wrote: Filipe Sousa wrote: I have been using EXECUTABLE_OUTPUT_PATH but I recently found that CMAKE_RUNTIME_OUTPUT_DIRECTORY can do the same. Is EXECUTABLE_OUTPUT_PATH going to be deprecated in 2.6? Does CMAKE_RUNTIME_OUTPUT_DIRECTORY affect where .EXE files get placed or only

[CMake] why do my targets keep rebuilding?

2008-02-13 Thread Benjamin Reed
So I'm trying to build some java stuff, and while it all works, it appears my custom targets keep rebuilding. For example, if I run a cmake, and then make, it does what I expect (although the percentages are off): ---(snip!)--- # make [ 0%] Generating

[CMake] Help with ADD_CUSTOM_COMMAND

2008-02-13 Thread Michael Kaplan
I am currently using cmake 2.4 (patch 8) and i'm having a problem with ADD_CUSTOM_COMMAND I created a macro which defined an add_custom_command to which i'd like to pass some extra arguments in variables. However, when I try to pass in a string with spaces, the spaces get escaped which breaks

Re: [CMake] Help with ADD_CUSTOM_COMMAND

2008-02-13 Thread Alexander Neundorf
On Wednesday 13 February 2008, Michael Kaplan wrote: I am currently using cmake 2.4 (patch 8) and i'm having a problem with ADD_CUSTOM_COMMAND I created a macro which defined an add_custom_command to which i'd like to pass some extra arguments in variables. However, when I try to pass in a

Re: [CMake] why do my targets keep rebuilding?

2008-02-13 Thread Pau Garcia i Quiles
Quoting Benjamin Reed [EMAIL PROTECTED]: So I'm trying to build some java stuff, and while it all works, it appears my custom targets keep rebuilding. For example, if I run a cmake, and then make, it does what I expect (although the percentages are off): ---(snip!)--- # make [ 0%] Generating

Re: [CMake] why do my targets keep rebuilding?

2008-02-13 Thread Benjamin Reed
On Feb 13, 2008 5:26 PM, Pau Garcia i Quiles [EMAIL PROTECTED] wrote: Use ADD_CUSTOM_COMMAND. Aha! Thanks... -- Benjamin Reed a.k.a. Ranger Rick Fink, KDE, and Mac OS X development http://www.racoonfink.com/ ___ CMake mailing list CMake@cmake.org

[CMake] XCode 3.0 woes

2008-02-13 Thread Nico Galoppo
Hi, I'm having trouble with setting and hitting breakpoints in the XCode 3.0 debugger (the breakpoints turn 'yellow', i.e. can't be set). I have a suspicion that gdb is not finding the source file (there is a warning by gdb that it can't find the location), and that it has to do with me going

Re: [CMake] XCode 3.0 woes

2008-02-13 Thread Mike Jackson
Just shooting in the dark here: Select the root directory. My Guess is cmake doesn't know about some of the new Xcode 3.0 features which is why you are getting the dialog when you open the project. Breakpoints not showing up: Make sure you are compiling with debug symbols enabled. Run