[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 wit

Re: [CMake] cross compiling

2007-11-30 Thread Jesse Corrington
That would probably be possible. However, that would be limiting as it would restrict you to using visual studio. Also, and I may we wrong here, but I'm pretty sure the visual studio project is only capable of building emulator builds. On Nov 30, 2007 12:47 PM, <[EMAIL PROTECTED]> wrote: > > Acoo

Re: [CMake] Re: Fortran Flags

2007-11-30 Thread Alan W. Irwin
On 2007-11-30 11:28+0100 Baptiste Derongs wrote: Actually my problem didn't come from what I thought. The point is that INCLUDE_DIRECTORIES does not seem to work with Fortran. When I use this command, the CMakeDirectoryInformation.cmake show that the CMAKE_C_INCLUDE_PATH variable is set, but the

Re: [CMake] Regular expressions

2007-11-30 Thread Brandon Van Every
On Nov 30, 2007 4:52 PM, Pau Garcia i Quiles <[EMAIL PROTECTED]> wrote: > Hello, > > I have an initial implementation of Perl-compatible regular > expressions (PCRE) against current CVS. It does not replace classic > regular expressions but co-exist with them. How are you disambiguating them? I h

Re: [CMake] Visual Studio 2005: Make header files without corresponding source files viewable in the solution explorer

2007-11-30 Thread Marcus
Dear Peter, (sorry if you receive two copies of this) I have some header files containing only template code which I would like to see in the solution explorer. They are not logically associated with any libraries or executables in my project. I am also new to CMake, but as I understand it,

[CMake] Regular expressions

2007-11-30 Thread Pau Garcia i Quiles
Hello, I have an initial implementation of Perl-compatible regular expressions (PCRE) against current CVS. It does not replace classic regular expressions but co-exist with them. I'm trying to make sense of current limitations and know if I should keep them or I should get rid of them. Fo

Re: [CMake] cross compiling

2007-11-30 Thread clinton
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

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
I'm pretty sure to build any symbian app you need an inf and mmp file. These have nothing to do with the eclipse plugin, but It is able to import them, so you need these files whether you are working in an IDE or building from the command line. The files are extremely simple, at least the ones we u

Re: [CMake] Marking a library dependency from within a library.

2007-11-30 Thread Pau Garcia i Quiles
Quoting Ilya Shvetsov <[EMAIL PROTECTED]>: What you are asking for is essentially what FIND_PACKAGE provides. Create your own FindlibB.cmake which sets libB_FOUND to true and libB_LIBRARY to the filename (i. e. /usr/lib/libB.so or whatever), then TARGET_LINK_LIBRARIES(execC libA ${libB_LIBR

Re: [CMake] Can't get cmake to do debug build with wxwidgets

2007-11-30 Thread James Bigler
Joseph Garvin wrote: Under windows, everything works fine. However, trying to build my project on Linux, I think that cmake isn't properly setting up linking against the debug versions of the wxwidgets libraries. wxWidgets has a function, wxLogDebug, that prints text in debug mode but does nothin

[CMake] Can't get cmake to do debug build with wxwidgets

2007-11-30 Thread Joseph Garvin
Under windows, everything works fine. However, trying to build my project on Linux, I think that cmake isn't properly setting up linking against the debug versions of the wxwidgets libraries. wxWidgets has a function, wxLogDebug, that prints text in debug mode but does nothing in release mode. Even

Re: [CMake] Changing directory layout with Cpack ?

2007-11-30 Thread Eric Noulard
2007/11/30, Stephen Collyer <[EMAIL PROTECTED]>: > Eric Noulard wrote: > > > Which CPack generator will you use? > > NSIS, TGZ, ZIP, RPM, DEB ? > > I'm using NSIS, and at least one of TGZ, RPM, or DEB > > > Are you using CMake CVS or CMake 2.4.x ? > > Cmake 2.4.x - why ? Is the version in CVS bette

[CMake] FORTRAN USE statement dependencies

2007-11-30 Thread Joseph Winston
I'm using the CVS head version of cmake and I've run into the following problem with the FORTRAN dependency generator and the USE statement. cmake now creates modname.mod.stamp files and enters them into the dependency calculation. However, the path to the modname.mod.stamp is incorrect b

Re: [CMake] Changing directory layout with Cpack ?

2007-11-30 Thread Eric Noulard
2007/11/30, Stephen Collyer <[EMAIL PROTECTED]>: > Eric Noulard wrote: > > > If you use VisualStudio on Win32 and you want to use the > > INSTALL target to install your software from VisualStudio > > you may add to your top level CMakeLists.txt > > > > IF (WIN32) > > SET(CMAKE_INSTALL_PREFIX "$

Re: [CMake] Changing directory layout with Cpack ?

2007-11-30 Thread Stephen Collyer
Eric Noulard wrote: > Yes and No it depends on the CPack generator used > I think NSIS Generator does not use CMAKE_INSTALL_PREFIX at all > since NSIS offers you the choice when you run the installer. Maybe. I'm not sure about that. However, although NSIS does indeed give you the choice at instal

Re: [CMake] Changing directory layout with Cpack ?

2007-11-30 Thread Stephen Collyer
Eric Noulard wrote: > In a first step do not set CMAKE_INSTALL_PREFIX. > Later you may uncomment and update this > #SET(CMAKE_INSTALL_PREFIX "/some/prefix") > >> and in a lower level directory, src/lib, I have: >> > IF (WIN32) > INSTALL(TARGETS Comms Runnable > ARCHIVE DESTINATI

Re: [CMake] Marking a library dependency from within a library.

2007-11-30 Thread Ilya Shvetsov
I am not sure if Josef Karthauser was referring to such a situation. This case occurs quite often in my projects and so far I found no way how to fomulate these dependencies in an elegant way. Anyone who can help me (and probably Josef Karthauser)? I would like also to have an explanation

[CMake] Visual Studio 2005: Make header files without corresponding source files viewable in the solution explorer

2007-11-30 Thread Kolloch, Peter
Hi, I have some header files containing only template code which I would like to see in the solution explorer. They are not logically associated with any libraries or executables in my project. I would also like to simply link to some Perl test scripts in the solution explorer in their own proj

Re: [CMake] Changing directory layout with Cpack ?

2007-11-30 Thread Eric Noulard
2007/11/30, Stephen Collyer <[EMAIL PROTECTED]>: > and in a lower level directory, src/lib, I have: > > IF (WIN32) > INSTALL(TARGETS Comms Runnable > ARCHIVE DESTINATION . > LIBRARY DESTINATION install/win32 > RUNTIME DESTINATION install/win32 >)

Re: [CMake] Changing directory layout with Cpack ?

2007-11-30 Thread Stephen Collyer
Eric Noulard wrote: > 2007/11/28, Stephen Collyer <[EMAIL PROTECTED]>: >> I have a build tree set up like this: >> >> src/ >> builds/linux >> builds/win32 >> install/linux/bin >> install/linux/lib >> install/win32 >> >> where all the source code lives under src, I do out-of-source >> builds under b

Re: [CMake] Re: CMake Digest, Vol 43, Issue 105

2007-11-30 Thread Mehdi Rabah
Hi Hendrik, On Nov 30, 2007 12:20 AM, Hendrik Sattler <[EMAIL PROTECTED]> wrote: > Am Donnerstag 29 November 2007 schrieb FĂ©lix C. Morency: > > What I'm talking about is I think it would be a good idea to have one > (and > > only one) installer generator that supports multiple platforms in order

Re: [CMake] Re: Fortran Flags

2007-11-30 Thread Baptiste Derongs
On Nov 29, 2007 6:17 PM, Alan W. Irwin <[EMAIL PROTECTED]> wrote: > > On 2007-11-29 11:22+0100 Baptiste Derongs wrote: > > > Hum...sorry for that, too fast on the keyboard... > > > >> Hello all, > >> > >> I'm currently trying to compile some fortran programs. I need to pass > >> them some flags (ac

[CMake] Intel fortran compiler, cmake and windows more info

2007-11-30 Thread Alin M Elena
Hi Coming back with more info. Thank Danny and Arjen for the replies. The compiler is set correctly for my shell environment. I can reproduce the problem in both cmd.exe and PowerShell. I can produce executables using ifort by hand not with cmake. Here it is the verbose output of the compiler fo

RE: [CMake] cross compiling

2007-11-30 Thread Torsten Martinsen
The CVS version does, yes. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Josef Karthauser Sent: 30 November 2007 09:54 To: Jesse Corrington; Salvatore Iovene Cc: cmake@cmake.org; [EMAIL PROTECTED] Subject: RE: [CMake] cross compiling Did I miss so

RE: [CMake] cross compiling

2007-11-30 Thread Josef Karthauser
Did I miss something? Does cmake support cross compiling now? Joe From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jesse Corrington Sent: 29 November 2007 18:56 To: Salvatore Iovene Cc: cmake@cmake.org; [EMAIL PROTECTED] Subject: Re: [CMake] cross compiling I definitely w

Re: [CMake] cross compiling

2007-11-30 Thread Alexander Neundorf
Original-Nachricht > Datum: Thu, 29 Nov 2007 10:19:55 -0800 > Von: "Jesse Corrington" <[EMAIL PROTECTED]> > An: [EMAIL PROTECTED] > CC: cmake@cmake.org > Betreff: Re: [CMake] cross compiling > The inf and mmp files are the build files for symbian. They are similar > to a > make