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

2010-08-16 Thread Bo Thorsen
://www.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

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.

Re: [CMake] FindXdmf.cmake

2010-07-15 Thread Bo Thorsen
/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. -- MariaDB: MySQL

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 chillery-cm...@lambda.nu mailto:chillery-cm...@lambda.nu wrote: [...] On Fri, Jul 9, 2010 at 4:37 AM, Bo Thorsen b...@askmonty.org mailto:b...@askmonty.org wrote: [...] To sum it up

Re: [CMake] CTest examples

2010-07-12 Thread Bo Thorsen
to know I hadn't missed some opportunity. Thanks for you help. Bo Thorsen. Monty Program AB. -- MariaDB: MySQL replacement Community developed. Feature enhanced. Backward compatible. ___ Powered by www.kitware.com Visit other Kitware open-source

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 how

[CMake] CTest examples

2010-07-09 Thread Bo Thorsen
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. -- MariaDB: MySQL

[CMake] Copy two files into one file

2010-07-09 Thread Bo Thorsen
, 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.html Please

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

Re: [CMake] Install PDB files

2010-07-08 Thread Bo Thorsen
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. -- MariaDB: MySQL

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.html Bo Thorsen. Monty

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

2010-07-06 Thread Bo Thorsen
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 compatible

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] 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 having some problems

Re: [CMake] Preserve tree structur for IDEs

2010-07-02 Thread Bo Thorsen
a folder Source files explicitly via source_group, one gets a broken Visual Studio solution file. This sounds like a bug that should be reported. Can you make a small self contained example and report it in the cmake bug tracker? Sending a mail about it tends to mean it's forgotten later. Bo

[CMake] cpack -C

2010-07-01 Thread Bo Thorsen
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 other Kitware

[CMake] Extra cpack files

2010-06-29 Thread Bo Thorsen
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.kitware.com

[CMake] CPack custom page

2010-06-28 Thread Bo Thorsen
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: MySQL replacement Community

Re: [CMake] customize cpack windows installer

2010-06-25 Thread Bo Thorsen
: 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 replacement Community developed. Feature enhanced. Backward

Re: [CMake] Data dir

2010-06-25 Thread Bo Thorsen
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. Den 09-06-2010 14:48, Bo Thorsen skrev: Den 09-06-2010 14:25, Yegor Yefremov skrev: I am working on a CPack/NSIS based

Re: [CMake] Searching the mailing list archives

2010-06-22 Thread Bo Thorsen
want something in Great Brittain. (Yes, I know some there also has other domains, but for some searches that's not a problem). http://www.cmake.org/Wiki/CMake_FAQ#Where_can_I_find_searchable_CMake_Mailing_Archives.3F I think my answer here could be appended to that list of options. Bo Thorsen

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 projects

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. Bo Thorsen

Re: [CMake] Data dir

2010-06-09 Thread Bo Thorsen
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 http://www.kitware.com/opensource

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

2010-06-01 Thread Bo Thorsen
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. Feature enhanced. Backward compatible

[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

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 I got

[CMake] CPack, optional files and windows service

2010-05-11 Thread Bo Thorsen
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 other Kitware open-source projects at http