Re: [CMake] cmake out of source build writes build files at source dirs?

2010-08-16 Thread Bo Thorsen
.cmake.org/mailman/listinfo/cmake Bo Thorsen. Monty Program AB. -- MariaDB: MySQL replacement Community developed. Feature enhanced. Backward compatible. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.k

Re: [CMake] Create NSIS installer with debug and release targets

2010-07-18 Thread Bo Thorsen
Den 15-07-2010 13:48, Martin Santa MarĂ­a skrev: I'm trying to create an NSIS installer that contains both release and I assume this is about NSIS with CPack? debug targets. I'm using CMake 2.6 and Visual Studio and the installer always contains the Build version I select in Visual Studio. Has

Re: [CMake] FindXdmf.cmake

2010-07-14 Thread Bo Thorsen
nches/bonnell/SIZET/src/CMake/ which is very much tied with Visit package. Hi Dr. X, If you can't find it, your best approach will be to try and create one for cmake. You can probably start from the Visit package, and clean it up and generalize it. Bo Thorsen. Monty Program AB. -- Mari

Re: [CMake] CTest examples

2010-07-12 Thread Bo Thorsen
Den 09-07-2010 19:03, Eric Noulard skrev: 2010/7/9 Bo Thorsen: Hi people, I have converted a set of applications to cmake and cpack, and now have my eyes set on ctest. I'd like to hear if someone here has some good advice, or links to good advice, on how to structure tests. I'm sea

Re: [CMake] CTest examples

2010-07-12 Thread Bo Thorsen
Den 10-07-2010 00:05, David Cole skrev: On Fri, Jul 9, 2010 at 5:54 PM, Chris Hillery mailto:chillery-cm...@lambda.nu>> wrote: [...] On Fri, Jul 9, 2010 at 4:37 AM, Bo Thorsen mailto:b...@askmonty.org>> wrote: [...] To sum it up, I'm looking for real life a

Re: [CMake] Copy two files into one file

2010-07-09 Thread Bo Thorsen
Den 09-07-2010 16:48, Michael Hertling skrev: On 07/09/2010 03:48 PM, Bo Thorsen wrote: Hi all, Is there an elegant way of copying two files into one? Right now, I have this: ADD_CUSTOM_COMMAND(OUTPUT privilege_tables.sql COMMAND copy /b

[CMake] Copy two files into one file

2010-07-09 Thread Bo Thorsen
? Cheers, Bo Thorsen. Monty Program AB. -- MariaDB: MySQL replacement Community developed. Feature enhanced. Backward compatible. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.ht

[CMake] CTest examples

2010-07-09 Thread Bo Thorsen
will still be useful. To sum it up, I'm looking for real life advice on what you guys have done with ctest. This information seem almost completely missing on the net, where all searches on ctest leads to useless presentation on ctest features. Cheers, Bo Thorsen. Monty Program AB.

Re: [CMake] Install PDB files

2010-07-09 Thread Bo Thorsen
Den 08-07-2010 21:56, Rolf Eike Beer skrev: Am Thursday 08 July 2010 schrieb Bo Thorsen: Den 07-07-2010 19:43, Rolf Eike Beer skrev: Am Wednesday 07 July 2010 schrieb Patrick Spendrin: we're currently thinking about setting up a symbol server for our project, and cannot find out h

Re: [CMake] Install PDB files

2010-07-08 Thread Bo Thorsen
bin LIBRARY lib DEBUG_SYMBOLS dbg ) Then you have people who want .map files, .exp files etc. You can't make a positive list and solve the actual problem. I have a bug report with this particular problem here: http://www.cmake.org/Bug/view.php?id=10940 Bo Thorsen. Monty Program AB.

Re: [CMake] Propagating variable to toplevel parent

2010-07-07 Thread Bo Thorsen
(APPEND v "42") # make sure to actually update the CACHE variable: set(v ${v} CACHE INTERNAL "toto") My goal is that at the end of the toplevel cmakelists.txt file, cmake would have collected a list of installation path. http://www.cmake.org/pipermail/cmake/2010-May/036743.htm

Re: [CMake] cpack -C

2010-07-06 Thread Bo Thorsen
Den 01-07-2010 15:39, Bo Thorsen skrev: When I give an argument to -C, can this be used in the INSTALL commands? Not possible :( I have added a feature request here: http://public.kitware.com/Bug/view.php?id=10940 Bo Thorsen. Monty Program AB. -- MariaDB: MySQL replacement Community

Re: [CMake] Bug fix requests for the *next* release of CMake...

2010-07-06 Thread Bo Thorsen
g list and activity in the bug tracker to help prioritize the bug fixes that will occur in the next several weeks. I have added a note for 2.8.3. Cheers, Bo Thorsen. Monty Program AB. -- MariaDB: MySQL replacement Community developed. Feature enhanced. Backward

Re: [CMake] Preserve tree structur for IDEs

2010-07-02 Thread Bo Thorsen
it in the cmake bug tracker? Sending a mail about it tends to mean it's forgotten later. Bo Thorsen. Monty Program AB. -- MariaDB: MySQL replacement Community developed. Feature enhanced. Backward compatible. ___ Powered by www.kitware.com

Re: [CMake] CPack custom page

2010-07-02 Thread Bo Thorsen
Den 28-06-2010 10:42, Bo Thorsen skrev: Hi people, I'm trying to build a custom NSIS page that's shown at the end of the installer, after all files have been installed. The purpose is to set up a Windows service. I can do the code for installing the service, but I'm havin

[CMake] cpack -C

2010-07-01 Thread Bo Thorsen
is expanded to nothing. Is there a variable that contains the contents of the -C argument? Bo Thorsen. Monty Program AB. -- MariaDB: MySQL replacement Community developed. Feature enhanced. Backward compatible. ___ Powered by www.kitware.com Visit oth

[CMake] Extra cpack files

2010-06-29 Thread Bo Thorsen
ith my own NSIS code. The problem is that it needs to be copied to the _CPack_Packages directory by cpack. Bo Thorsen. Monty Program AB. -- MariaDB: MySQL replacement Community developed. Feature enhanced. Backward compatible. ___ Powered by www.k

[CMake] CPack custom page

2010-06-28 Thread Bo Thorsen
age for it. And searching the net haven't given me any decent hits. Some pages say I should just hack the template file, but that doesn't give any clue what to put in the file. Can one of you point to example code that adds a custom page, please? Bo Thorsen. Monty Program AB. -- MariaDB: My

Re: [CMake] Data dir

2010-06-25 Thread Bo Thorsen
K_NSIS_EXTRA_UNINSTALL_COMMANDS} MessageBox MB_OK 'This will not delete the database files in $INSTDIRdata'") Another solution I'm considering is to write a CMake patch that can do this in a prettier way, but that's going to be a while from now, if ever. Bo.

Re: [CMake] customize cpack windows installer

2010-06-25 Thread Bo Thorsen
.xsl file for it to do anything useful. Another thing: If you find the answers to your questions, please answer your own mail here on the list. Google results from answers on this list is certainly one of the more useful resources on the net. Bo Thorsen. Monty Program AB. -- MariaDB: MySQL repl

Re: [CMake] Searching the mailing list archives

2010-06-22 Thread Bo Thorsen
swer here could be appended to that list of options. Bo Thorsen. Monty Program AB. -- MariaDB: MySQL replacement Community developed. Feature enhanced. Backward compatible. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http:/

Re: [CMake] One last try

2010-06-21 Thread Bo Thorsen
you remove the old SDK? VS2008 comes with it's own SDK. Bo Thorsen. Monty Program AB. -- MariaDB: MySQL replacement Community developed. Feature enhanced. Backward compatible. ___ Powered by www.kitware.com Visit other Kitware open-source projec

Re: [CMake] CMake 2.8.2 RC 1 ready for testing!

2010-06-18 Thread Bo Thorsen
know and I will add it to the official release when 2.8.2 is finalized.) Changes in CMake 2.8.2 RC 1 (since CMake 2.8.1) [...] I was looking for the WiX patch in list and wondered why it isn't there. Is it not ready? It looks so simple that it shouldn't be a problem to include it.

Re: [CMake] Data dir

2010-06-09 Thread Bo Thorsen
components doesn't answer the uninstall problem. Bo Thorsen. Monty Program AB. -- MariaDB: MySQL replacement Community developed. Feature enhanced. Backward compatible. ___ Powered by www.kitware.com Visit other Kitware open-source projects at

[CMake] Data dir

2010-06-09 Thread Bo Thorsen
, I'd love to hear about it. So far I couldn't find anything in this direction. Bo Thorsen. Monty Program AB. -- MariaDB: MySQL replacement Community developed. Feature enhanced. Backward compatible. ___ Powered by www.kitware.com Visit oth

Re: [CMake] x64 possible using Cmake2.8.1 for VC2010Express + Windows7.1SDK ??

2010-06-01 Thread Bo Thorsen
rest, but I can tell you the reason here. Express Edition doesn't have the devenv command. It's a command used to build solution files on the command line. With EE, you have to use the IDE or nmake. Bo Thorsen. Monty Program AB. -- MariaDB: MySQL replacement Community developed. Fe

Re: [CMake] Error in generated nmake files on Windows

2010-05-24 Thread Bo Thorsen
Den 24-05-2010 15:42, Michael Wild skrev: On 24. May, 2010, at 15:24 , Bo Thorsen wrote: Hi all, I have as simple a CMakeLists.txt as possible: ADD_EXECUTABLE(comp_err comp_err.c) I did these two commands: $ set CMAKE_BUILD_TYPE=RelWithDebInfo $ cmake -G "NMake Makefiles"

[CMake] Error in generated nmake files on Windows

2010-05-24 Thread Bo Thorsen
Hi all, I have as simple a CMakeLists.txt as possible: ADD_EXECUTABLE(comp_err comp_err.c) I did these two commands: $ set CMAKE_BUILD_TYPE=RelWithDebInfo $ cmake -G "NMake Makefiles" I got this: Building C object extra/CMakeFiles/comp_err.dir/comp_err.c.obj comp_err.c Linking C executable c

[CMake] CPack, optional files and windows service

2010-05-11 Thread Bo Thorsen
ting and stopping the service? I hope you have some good ideas on how to do this. If you only have some of the answer, just give me that and I'll work with it. Cheers, Bo Thorsen, Monty Program AB. ___ Powered by www.kitware.com Visit oth