Re: [CMake] adding files to a custom target

2008-10-02 Thread Jesse Corrington
. On Tue, Sep 23, 2008 at 1:43 AM, Jesse Corrington [EMAIL PROTECTED] wrote: I'm trying to create a custom target for compiling scripts in MSVC, but I can't seem to find anyway to add the files to the project when using ADD_CUSTOM_TARGET. I just want to be able to add files to a custom target

Re: [CMake] adding files to a custom target

2008-10-02 Thread Jesse Corrington
${binDirNative}\\main.js.bin COMMAND ${COMPILE_SCRIPT} ${binDirNative}\\main.js -o ${binDirNative}\\main.js.bin DEPENDS ${binDirNative}\\main.js VERBATIM ) ADD_CUSTOM_TARGET( Test DEPENDS ${binDirNative}\\main.js.bin VERBATIM ) On Thu, Oct 2, 2008 at 7:15 AM, Jesse Corrington [EMAIL PROTECTED] wrote

[CMake] passing by reference to a MACRO

2008-07-16 Thread Jesse Corrington
Is there anyway to have variables passed by reference to a macro so the original will be updated. I'm pretty sure the answer is no, but maybe I just don't know the syntax well enough. Here is what I'm trying to do: MACRO( TEST_SET variable, value ) SET( variable ${value} ) ENDMACRO() SET(

Re: [CMake] Running CMake on windows VM

2008-01-08 Thread Jesse Corrington
, but this doesn't generate any installer. Thanks Jesse On Jan 7, 2008 6:29 PM, Bill Hoffman [EMAIL PROTECTED] wrote: Jesse Corrington wrote: I am having a problem running CMake on a windows VM. The setup is windows virtual server R2 on windows server 2003. Attempting to run cmake.exe from the command

[CMake] getting the output directory in a cmake script

2008-01-08 Thread Jesse Corrington
Is there any variable that stores the output directory where the project files are generated. I need this information to create a post build step to copy a file to the project root. ___ CMake mailing list CMake@cmake.org

Re: [CMake] Running CMake on windows VM

2008-01-08 Thread Jesse Corrington
When I set the Install target as the startup project and run from inside visual studio I just get the dialog asking me to specify an executable for the debugging session. On Jan 8, 2008 11:20 AM, Bill Hoffman [EMAIL PROTECTED] wrote: Jesse Corrington wrote: Yes, the binary from kitware does

[CMake] having ADD_CUSTOM_COMMAND call a macro

2008-01-07 Thread Jesse Corrington
Can the command for add_custom_command be a macro or does it need to be a built in cmake command? Thanks Jesse ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] Running CMake on windows VM

2008-01-07 Thread Jesse Corrington
I am having a problem running CMake on a windows VM. The setup is windows virtual server R2 on windows server 2003. Attempting to run cmake.exe from the command line gives the error message The system cannot execute the specified program. Running from the windows GUI gives an error about the

[CMake] Re: Running CMake on windows VM

2008-01-07 Thread Jesse Corrington
Apparently the VM is running on a 64 bit Xeon. Would I need to make a build of cmake for x64? On Jan 7, 2008 6:09 PM, Jesse Corrington [EMAIL PROTECTED] wrote: I am having a problem running CMake on a windows VM. The setup is windows virtual server R2 on windows server 2003. Attempting to run

Re: [CMake] MSVC turn off RelWithDebInfo and MinSizeRel

2007-12-21 Thread Jesse Corrington
The force set seemed to work when running the cmake GUI on windows, but didn't seem to work when running the command line cmake.exe, which is the way I need to do the generation. Jesse On Dec 20, 2007 11:35 PM, Torsten Martinsen [EMAIL PROTECTED] wrote: David Cole mailto:[EMAIL PROTECTED]

[CMake] MSVC turn off RelWithDebInfo and MinSizeRel

2007-12-19 Thread Jesse Corrington
Is there anyway to have CMake not generate these two configurations, and just generate the standard release and debug configurations instead? Thanks. Jesse ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] specify output directory when running from the command line

2007-12-12 Thread Jesse Corrington
When running CMake from the command line, how can I specify the directory to put the output files in. Thanks. Jesse ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] turning off compile testing

2007-12-11 Thread Jesse Corrington
Is there any way to turn off try compile during configuration? ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] problem building CMake from source

2007-12-03 Thread Jesse Corrington
I'm trying to build CMake from the latest nightly source and I'm having problems generating the project files using the binary version of CMake. When I hit configure I get the error File /Source/cmConfigure.cmake.in does not exist. I have checked and this file is there. I am setting the source

Re: [CMake] problem building CMake from source

2007-12-03 Thread Jesse Corrington
I guess I had to set the source root at the cmake root, not cmake/source. I didn't see a cmakelists.txt in the root, so I thought I was supposed to use cmake/source. It's working now. Thanks On Dec 3, 2007 11:40 AM, Brandon Van Every [EMAIL PROTECTED] wrote: On Dec 3, 2007 2:22 PM, Jesse

[CMake] adding a new generator to cmake source

2007-12-03 Thread Jesse Corrington
I am going to be working on a new generator for CMake to output Symbian build files. I am poking around the source a little today, and I have a few questions. What are the classes I am required to create. Do I need a cmGlobalGenerator subclass as well as a cmLocalGenerator subclass? What are the

Re: [CMake] cross compiling

2007-11-30 Thread Jesse Corrington
: Acoording to that link you gave, a Visual Studio project file can be created from inf and mmp files. Can you get CMake to generate an equivalent Visual Studio project file? Clint On Friday 30 November 2007 1:02:42 pm Jesse Corrington wrote: It seems there is some confusion over the symbian build

[CMake] SOURCE_GROUP command

2007-11-30 Thread Jesse Corrington
In my cmake scripts I build a single list of all my cpp and h files for the project. At the end of the script I iterate over this list and add each file to the correct source group based on it's path relative to the source root. This is only for MSVC. I am running into a problem where I end up

Re: [CMake] cross compiling

2007-11-30 Thread Jesse Corrington
It seems there is some confusion over the symbian build files. If you are interested, take a look at this article on building a simple hello world app, which talks about the inf and mmp files. http://newlc.com/Getting-Started-with-Symbian.html Jesse On Nov 30, 2007 11:43 AM, Jesse Corrington

Re: [CMake] cross compiling

2007-11-30 Thread Jesse Corrington
:* 30 November 2007 09:54 *To:* Jesse Corrington; Salvatore Iovene *Cc:* cmake@cmake.org; [EMAIL PROTECTED] *Subject:* RE: [CMake] cross compiling Did I miss something? Does cmake support cross compiling now? -- This e-mail and any files sent with it contain

Re: [CMake] cross compiling

2007-11-29 Thread Jesse Corrington
On Nov 29, 2007 9:22 AM, Alexander Neundorf [EMAIL PROTECTED] wrote: On Thursday 29 November 2007, Jesse Corrington wrote: I am trying to make a platform module to generate symbian build files, so I was reading the cmake wiki article about cross compiling. It seems to make pretty good sense

[CMake] mastering cmake book

2007-11-29 Thread Jesse Corrington
I went to order this book, but there is no order button on the page, like there was for the other kitware books. I couldn't find it at any other online retailer. How can I get this book. Thanks. Jesse ___ CMake mailing list CMake@cmake.org

Re: [CMake] cross compiling

2007-11-29 Thread Jesse Corrington
, 2007 10:36 AM, Salvatore Iovene [EMAIL PROTECTED] wrote: On Nov 29, 2007 8:19 PM, Jesse Corrington [EMAIL PROTECTED] wrote: The inf and mmp files are the build files for symbian. They are similar to a make file, but simpler and with a different sytax. These are what I need to generate

[CMake] cmake cvs

2007-11-29 Thread Jesse Corrington
I am trying to get the cmake source with cvs, but I keep getting connection refused. I am using this command *cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/CMake login *and the password cmake. Any ideas? ___ CMake mailing list CMake@cmake.org

Re: [CMake] Fwd: I am writing a for-WINCE new cmGlobalVisualStudio8WinceGenerator()

2007-11-29 Thread Jesse Corrington
Are you going to be supporting MSVC project file generation for windows mobile 5 and 6? I really need this support. Thanks. Jesse On Nov 29, 2007 11:47 AM, Victor Huang [EMAIL PROTECTED] wrote: Hi, Guys, I am designing a new ::cmGlobalVisualStudio8WinceGenerator(), which customizes certain

[CMake] setting a CMAKE_CXX_FLAGS without clearing out all the other flags

2007-11-28 Thread Jesse Corrington
I want to set the flag /subsystem to windows for a vc 2005 build, but I don't want to clear out all the flags and set it. The best way I can think of to do this is to iterate over the default flags until I get to /subsystem and remove it and its value, and then add the flag with the value I want.

[CMake] suppressing the compiler chooser dialog

2007-11-28 Thread Jesse Corrington
I am wondering if there is anyway to suppress the compiler picker dialog that comes up when you first do configure on a cmakelists. For my project I want to have an option for what build they want and based on that I would like to set the compiler through cmake script if possible. Is there anyway

[CMake] GUI option with dropdown list

2007-11-28 Thread Jesse Corrington
Is it possible to add an option to the GUI that has a drop down list for choices. I didn't see anyway to do this with the OPTION command. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] setting a CMAKE_CXX_FLAGS without clearing out all the other flags

2007-11-28 Thread Jesse Corrington
to your ADD_EXECUTABLE call...? HTH, David On 11/28/07, Jesse Corrington [EMAIL PROTECTED] wrote: I want to set the flag /subsystem to windows for a vc 2005 build, but I don't want to clear out all the flags and set it. The best way I can think of to do this is to iterate over the default

[CMake] cross compiling

2007-11-28 Thread Jesse Corrington
I am trying to make a platform module to generate symbian build files, so I was reading the cmake wiki article about cross compiling. It seems to make pretty good sense, but I have a few questions before I get started. -After making the toolchain cmake file, is the only way to run cmake with that

[CMake] windows mobile visual studio 2005 project files

2007-11-26 Thread Jesse Corrington
Is there anyway to get CMake to generate visual studio 2005 project files that will build for windows mobile 5 and 6? ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] setting defines using CMAKE_CXX_FLAGS

2007-11-26 Thread Jesse Corrington
I am using CMAKE_CXX_FLAGS to set defines because I want to be able to set different ones for debug and release using CMAKE_CXX_FLAGS_DEBUG/RELEASE, which the other add define command doesn't seem to support. What I am doing doesn't seem to be working. Here is what I have: SET( CMAKE_CXX_FLAGS

[CMake] SUBDIRS command

2007-11-20 Thread Jesse Corrington
I have a project that has many different os targets that use different sets of source files and it builds a single exe. The source tree is like this commonSource/morespecific/morespecific. I figured I would have the common CMakeLists create a list of common files and call subdirs on the correct

[CMake] setting configuration specific options in visual studio

2007-11-19 Thread Jesse Corrington
I searched the archives and couldn't find any good information about this task, which I would assume is important to many people. I need to set options in visual studio that are different in debug and release modes. For example I need to set preprocessor defines, change compiler flags, link with