Re: [CMake] assembly files with masm in vs2005 64bit

2008-10-31 Thread Bram de Greve
Hi Bill, Alex, I tried getting it building using custom commands, but that seems to mean of adding an obj file as source file (read: being listed in the project file) that gets customly build with an assembler. Apart from being ugly, it didn't seem to work either. But in retrospect, that might

Re: [CMake] cmake and wxwidgets on windows

2008-10-31 Thread Werner Smekal
Hi John, hi Miguel, seems that I resolved the problem with CMake not finding wxWidgets. There must have been a problem while building wxWidgets on my machine. As I installed wxPack now, CMake finds wxWidgets. A 400mb download is just an overkill if you only want to use one compiler. They

[CMake] Newbie question about CMake cache

2008-10-31 Thread Joachim Ziegler
Hello list, am I correct in the following use of the CMake cache: Suppose that in your source code, a preprocessor macro #if defined(USE_MEMSET) ... #elif defined(USE_BZERO) ... #endif decides on whether you want to use the function memset() or bzero() to set the first n bytes of a byte area

Re: [CMake] view execute_process command

2008-10-31 Thread Mike Arthur
On Thursday 30 October 2008 20:41:36 James Bigler wrote: Is it possible to view the actual command run by an execute_process command? I'm trying to debug a command that isn't getting the right set of quotes or something, and I want to see the command as cmake would execute them. It would be

Re: [CMake] Newbie question about CMake cache

2008-10-31 Thread Werner Smekal
Hi Joachim, BTW, is there a *searchable* archive of the mailing list archived at http://www.cmake.org/pipermail/cmake/ ? http://www.mail-archive.com/cmake@cmake.org/ Regards, Werner Greetings, joachim ___ CMake mailing list CMake@cmake.org

Re: [CMake] RPM Package Dependencies

2008-10-31 Thread Eric Noulard
2008/10/31 David Graf [EMAIL PROTECTED]: Hello Thanks a lot! It works! I made a feature request (http://public.kitware.com/Bug/view.php?id=7904). Please attach your updated CPackRPM.cmake to it. Done. I did attach a patch against current CMake-2-6 tree. -- Erk

Re: [CMake] RPM Package Dependencies

2008-10-31 Thread David Graf
Hello Eric Thanks a lot! It works! I made a feature request (http://public.kitware.com/Bug/view.php?id=7904). Please attach your updated CPackRPM.cmake to it. David Eric Noulard wrote: 2008/10/30 David Graf [EMAIL PROTECTED]: Hello I would like to add a dependency to a RPM

[CMake] Problem with shared library and def file

2008-10-31 Thread [EMAIL PROTECTED]
Hi, I would like to generate a shared library by using a .def file for export symbols. The generated makefile does not include def file : ADD_LIBRARY(bar SHARED File1.c File2.c ${CMAKE_CURRENT_SOURCE_DIR}/bar.DEF) -- C:/OUTILS/MinGW_3.1.0/bin/gcc.exe -shared -o lib/bar.dll

Re: [CMake] assembly files with masm in vs2005 64bit

2008-10-31 Thread Bill Hoffman
Bram de Greve wrote: Hi Bill, Alex, I tried getting it building using custom commands, but that seems to mean of adding an obj file as source file (read: being listed in the project file) that gets customly build with an assembler. Apart from being ugly, it didn't seem to work either. But

Re: [CMake] cmake and wxwidgets on windows

2008-10-31 Thread Miguel A. Figueroa-Villanueva
On Fri, Oct 31, 2008 at 4:17 AM, Werner Smekal wrote: Hi John, hi Miguel, seems that I resolved the problem with CMake not finding wxWidgets. There must have been a problem while building wxWidgets on my machine. As I installed wxPack now, CMake finds wxWidgets. A 400mb download is just

Re: [CMake] Bundle Generator conflicts with MACOSX_BUNDLE

2008-10-31 Thread Timothy M. Shead
Mike Arthur wrote: On Thursday 30 October 2008 18:43:04 you wrote: Basically what I mean is, if the CPACK_BUNDLE_STARTUP_COMMAND is simply copied, how can you do install_name_tool operations on it without disrupting the build tree? In my humble opinion the CPACK_BUNDLE_STARTUP_COMMAND and

Re: [CMake] Bundle Generator conflicts with MACOSX_BUNDLE

2008-10-31 Thread Mike Arthur
On Friday 31 October 2008 16:18:51 Timothy M. Shead wrote: Of course, you still have to provide a mechanism so the executable can be located when your user double-clicks your bundle. That's where CPACK_BUNDLE_STARTUP_COMMAND comes-in ... it copies a bundle-specific file into the

[CMake] how to set the location for the LastTest.log

2008-10-31 Thread daniel trindade
By default, LastTest.log is generated in SRC_ROOT/Testing/Temporary. Is there a way to change this using some command in CMakeList.txt? I searched in cmake and ctest documentation, but i didn´t find anything. Thank you for your help. Daniel ___ CMake

Re: [CMake] how to set the location for the LastTest.log

2008-10-31 Thread Eric Noulard
2008/10/31 daniel trindade [EMAIL PROTECTED]: By default, LastTest.log is generated in SRC_ROOT/Testing/Temporary. I think it is generated in ${CMAKE_BINARY_DIR}/Testing/ You must be building in-source. Is there a way to change this using some command in CMakeList.txt? I searched in

[CMake] Visual Studio dependency/auto-install help

2008-10-31 Thread Sam Baker
When generating MSVS solutions, is there a way to make all library projects automatically build the solution's INSTALL project when done? I have a game executable and a bunch of DLLs in my solution. When my game builds, I have a post-build step that copies the exe file and the library DLLs

Re: [CMake] Visual Studio dependency/auto-install help

2008-10-31 Thread Eric NOULARD
Le Fri, 31 Oct 2008 11:58:53 -0700, Sam Baker [EMAIL PROTECTED] a écrit : When generating MSVS solutions, is there a way to make all library projects automatically build the solution's INSTALL project when done? Why don't you make the INSTALL project the default project of your solution?

Re: [CMake] Visual Studio dependency/auto-install help

2008-10-31 Thread Bill Hoffman
Sam Baker wrote: Thanks Eric - I'm so used to having the executable project be the default project for debugging, I didn't think of making the INSTALL project default. That does work and I can still debug as long as I tell it where the exe is. That doesn't work so well for my more complex

Re: [CMake] Visual Studio dependency/auto-install help

2008-10-31 Thread Sam Baker
It turns out that the problem was that the INSTALL project is not set to build in the Project Configuration manager. This is usually the desired behavior but it's what I was trying to work around - checking the build box for the INSTALL project in the configuration manager does exactly what I