[CMake] SOURCE_GROUP in VS005

2009-03-27 Thread Hicham Mouline
Hello, I have the following source dir structure lib1\CMakeLists.txt lib1\file1.cpp lib1\file1.hpp lib1\subdir1\CMakeLists.txt lib1\subdir1\file2.hpp lib1\subdir1\file3.hpp lib1\subdir2\CMakeLists.txt lib1\subdir2\file4.hpp lib1\subdir2\file5.hpp ... I wish to see this in VS2005 ... + lib1

[CMake] Doxygen and variable environment

2009-03-27 Thread Benoit
Hy guys. I'm using doxygen to generate my documentation and i would like to add a cmake target. I've read the tutorial from: http://www.elpauer.org/stuff/learning_cmake.pdf, however this toturial doesn't deal with doygen path configuration through cmake. In doxygen you can use environment

Re: [CMake] SOURCE_GROUP in VS005

2009-03-27 Thread Hicham Mouline
-Original Message- From: Mattias Helsing [mailto:helsin...@gmail.com] Sent: 27 March 2009 10:45 To: Hicham Mouline Subject: Re: [CMake] SOURCE_GROUP in VS005 Hi Hicham, You need to point out files explicitly like: source_group(Header Files\\subdir1 FILES subdir1/file2.hpp

Re: [CMake] Doxygen and variable environment

2009-03-27 Thread Mike Jackson
Go back to yesterday and look for the thread [CMake] execute_process() and writing output to a file. We just covered this. Mike On Fri, Mar 27, 2009 at 6:28 AM, Benoit benpaka.s...@gmail.com wrote: Hy guys. I'm using doxygen to generate my documentation and i would like to add a cmake

Re: [CMake] Bundle Generator DMG Volume Name/Compression Type variable support

2009-03-27 Thread Mike Arthur
On Wednesday 18 March 2009 17:51:47 Clinton Stimpson wrote: I like that better. With the CPACK_DMG_* variables, one can even have the PackageMaker generator use those variables. Any updates on this getting merged? I'm happy to make changes and I'd really like to see this hit 0.6.4. --

Re: [CMake] Bundle Generator Background Image/Custom .DS_Store support

2009-03-27 Thread Mike Arthur
On Thursday 05 February 2009 18:27:06 David Cole wrote: I agree with Clint. This belongs in the new cmCPackDragNDropGenerator. Any updates on this getting merged? I'm happy to make changes and I'd really like to see this hit 0.6.4. -- Cheers, Mike Arthur http://mikearthur.co.uk/

Re: [CMake] Doxygen and variable environment

2009-03-27 Thread Benoit
Okay, it's an easier way to do this If think you should put this in the FAQ for next time. -- Benoit RAT www.neub.co.nr On Fri, Mar 27, 2009 at 1:25 PM, Mike Jackson mike.jack...@bluequartz.netwrote: Go back to yesterday and look for the thread [CMake] execute_process() and writing

Re: [CMake] Question about find_library()

2009-03-27 Thread Alexander Neundorf
On Friday 27 March 2009, Philip Lowman wrote: On Thu, Mar 26, 2009 at 10:23 PM, Robert Dailey rcdai...@gmail.com wrote: I'm assuming that the macro in question will automatically mark all cache variables as advanced. Is this the case? @Mike Jackson Thank you for this info. I forgot

Re: [CMake] Question about find_library()

2009-03-27 Thread Robert Dailey
On Fri, Mar 27, 2009 at 12:29 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: I think I have to object here. AFAIK the CMake devs prefer to basically use mark_as_advanced() by default for all results from find_library/program/path/file() in find-modules, and only keep those entries

Re: [CMake] Question about find_library()

2009-03-27 Thread Philip Lowman
On Fri, Mar 27, 2009 at 1:29 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Friday 27 March 2009, Philip Lowman wrote: On Thu, Mar 26, 2009 at 10:23 PM, Robert Dailey rcdai...@gmail.com wrote: I'm assuming that the macro in question will automatically mark all cache

[CMake] Need ability to install only dll portion of target (no lib)

2009-03-27 Thread James Bigler
When using install(TARGET) with a shared library, I get both the dll and the .lib (if there were exports) installed. I'm trying to do a binary distribution, and I don't need or want the .lib portion. Is there a way to tell cmake to not install the .lib portion? I filed a bug on this, but there

Re: [CMake] Need ability to install only dll portion of target (no lib)

2009-03-27 Thread Clinton Stimpson
INSTALL(TARGETS mytarget RUNTIME DESTINATION bin COMPONENT Runtime LIBRARY DESTINATION bin COMPONENT Runtime ) The .lib gets installed if you specify the ARCHIVE DESTINATION or just plain DESTINATION. Clint James Bigler wrote: When using install(TARGET) with a shared library, I get both

[CMake] add configuration

2009-03-27 Thread Nicolas Slythe (Intern)
Is It possile to add a new configuration in visualstudio project like Release, Debug And how I shoud do that thanks ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please

Re: [CMake] Visual Studio Warning Level

2009-03-27 Thread Robert Dailey
Hey guys, I'm responding to this issue to check on the progress of this. I'm still currently unable to easily set the warning level in Visual Studio to level 4 and I really need to be able to do this. This really is a serious issue for me. How are things going in this area? Would it be possible

Re: [CMake] Need ability to install only dll portion of target (no lib)

2009-03-27 Thread James Bigler
Awesome! That worked. Thanks, James On Fri, Mar 27, 2009 at 1:15 PM, Clinton Stimpson clin...@elemtech.com wrote: INSTALL(TARGETS mytarget  RUNTIME DESTINATION bin COMPONENT Runtime  LIBRARY DESTINATION bin COMPONENT Runtime  ) The .lib gets installed if you specify the ARCHIVE

Re: [CMake] add configuration

2009-03-27 Thread Tyler Roscoe
On Fri, Mar 27, 2009 at 12:42:27PM -0700, Nicolas Slythe (Intern) wrote: Is It possile to add a new configuration in visualstudio project like Release, Debug http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_extend_the_build_modes_with_a_custom_made_one_.3F tyler

Re: [CMake] Need ability to install only dll portion of target (no lib)

2009-03-27 Thread Clinton Stimpson
Also, if you want to support the .lib for development installs, then you can do something like INSTALL(TARGETS mytarget RUNTIME DESTINATION bin COMPONENT Runtime LIBRARY DESTINATION bin COMPONENT Runtime ARCHIVE DESTINATION bin COMPONENT Development ) Then when you invoke the install, you

[CMake] Getting the Generator during CMAKE

2009-03-27 Thread Neal Meyer
I need to have my CMakeLists file do different things depending on the Generator that is being used. Mostly passing on that version information to a build of a 3rd party library. Is there a way to get that information during the CMake run? -Neal ___

Re: [CMake] Getting the Generator during CMAKE

2009-03-27 Thread John Drescher
On Fri, Mar 27, 2009 at 4:36 PM, Neal Meyer nme...@dottedzebra.com wrote: I need to have my CMakeLists file do different things depending on the Generator that is being used.  Mostly passing on that version information to a build of a 3rd party library.  Is there a way to get that information

Re: [CMake] Getting the Generator during CMAKE

2009-03-27 Thread Alexander Neundorf
On Friday 27 March 2009, Neal Meyer wrote: I need to have my CMakeLists file do different things depending on the Generator that is being used. Mostly passing on that version information to a build of a 3rd party library. Is there a way to get that information during the CMake run? You can

Re: [CMake] Visual Studio Warning Level

2009-03-27 Thread James Bigler
I manage all the warning levels by hand. If you are truly in a rush this is what I do: # The idea is to match a string that ends with cl but doesn't have icl in it. set(COMPILER_NAME_REGEXPR ([^i]|^)cl.*$) if(CMAKE_C_COMPILER MATCHES ${COMPILER_NAME_REGEXPR} AND CMAKE_CXX_COMPILER MATCHES

Re: [CMake] add configuration

2009-03-27 Thread James Bigler
On Fri, Mar 27, 2009 at 1:50 PM, Tyler Roscoe ty...@cryptio.net wrote: On Fri, Mar 27, 2009 at 12:42:27PM -0700, Nicolas Slythe (Intern) wrote: Is It possile to add a new configuration in visualstudio project like Release, Debug

[CMake] Installing SWIG output (UseSWIG.cmake)

2009-03-27 Thread Matt Williams
Hi all, I've just started using SWIG to create binding for my library. So far I've only bound one file, called Enums.h, with a SWIG interface Enums.i. At present my CMakeLists.txt file looks like: include(${SWIG_USE_FILE}) find_package(PythonLibs) include_directories(${PYTHON_INCLUDE_PATH})

Re: [CMake] add configuration

2009-03-27 Thread Tyler Roscoe
On Fri, Mar 27, 2009 at 03:39:14PM -0600, James Bigler wrote: On Fri, Mar 27, 2009 at 1:50 PM, Tyler Roscoe ty...@cryptio.net wrote: On Fri, Mar 27, 2009 at 12:42:27PM -0700, Nicolas Slythe (Intern) wrote: Is It possile to add a new configuration in visualstudio project like Release, Debug

Re: [CMake] add configuration

2009-03-27 Thread James Bigler
On Fri, Mar 27, 2009 at 4:06 PM, Tyler Roscoe ty...@cryptio.net wrote: On Fri, Mar 27, 2009 at 03:39:14PM -0600, James Bigler wrote: On Fri, Mar 27, 2009 at 1:50 PM, Tyler Roscoe ty...@cryptio.net wrote: On Fri, Mar 27, 2009 at 12:42:27PM -0700, Nicolas Slythe (Intern) wrote: Is It possile

[CMake] Need help with GLOB expression

2009-03-27 Thread Robert Dailey
I need to create a glob expression (For file( GLOB_RECURSE ) ) that will find files with the following extensions: *.h *.hpp *.ipp How can I format my glob expression to do this? I know for HPP and IPP files, my glob expression would be: *.[hi]pp However, this ignores all H files.

[CMake] building within msys/mingw

2009-03-27 Thread Jason Addison
I'm having trouble running bootstrap. I have mingw and msys installed. As much as possible, I have installed everything as recommended. (I'm trying to build and install cmake in order to build Open Scene Graph.) I've exported MAKE=/mingw/make. When I run ./bootstrap (from within msys) I get some

Re: [CMake] building within msys/mingw

2009-03-27 Thread Michael Jackson
Stop. Go back and get the prebuilt binary of CMake for Windows. It will work for all the visual studios, MSYS, MinGW, and a few others on windows. The default happens to be Visual Studio but you can select what type of project files to generate on the first pass with cmake. You can

[CMake] [Fwd: Re: building within msys/mingw]

2009-03-27 Thread Kenneth Boyd
Apologies for not replying to the list. Forwarding: Original Message Subject:Re: [CMake] building within msys/mingw Date: Fri, 27 Mar 2009 22:07:37 -0500 From: Kenneth Boyd zaim...@zaimoni.com To: Jason Addison jraddi...@gmail.com References: