Re: [cmake-developers] Adding MacroWriteBasicCMakeVersionFile.cmake file to cmake ?

2011-08-04 Thread Brad King
On 8/3/2011 4:04 PM, Brad King wrote: On 8/3/2011 4:00 PM, Alexander Neundorf wrote: Are you ok with this branch or are there issues left (...since it wasn't merged into master on Tuesday) ? I still need to find time to do further review and try it out. Okay, here are a few comments from a

Re: [CMake] Easing the pain with Visual Studio 2010 and CMake

2011-08-04 Thread Micha Renner
Am Donnerstag, den 04.08.2011, 10:05 +0200 schrieb Thomas Sondergaard: It is a bit of a pain to work with Visual Studio 2010 and CMake due to this bug: http://gccxml.org/Bug/view.php?id=11258 (VS 2010 CMake plugin is broken). It doesn't look like much progress is being made with fixing this

[CMake] Cannot include GL/glew.h in XCode 4.1

2011-08-04 Thread Marco Fiocco
Hi, I have a project that compiles everywhere (Linux, Windows (Visual Studio 2008), MacOS 10.7 with makefiles) apart Xcode 4.1. It does not like #include GL/glew.h I'm sure all the paths are included with CMake (otherwise it could not compile on other platforms). It is located in /usr/include,

[CMake] Intertwined projects.

2011-08-04 Thread Mathias Sulser
Hello. This is my first post on this ML - so hi to everyone. I have been playing around with CMake for a while now and would love to introduce it to our projects. However, I wasn't able to answer the question below myself. Help appreciated. Short version: How do you layout internal project

[CMake] [Cmake/SWIG/JAVA/WINDOWS] add -Wl,--kill-at flag

2011-08-04 Thread Benjamin Ruard
Hi everybody, I use CMake to wrap a c++ library in Java with swig. When I use linux OS it works very well, but when I use windows OS there is a problem. Indeed, the compilation works fine but the dll has not the correct method/fonction inside. After several researches on the web I find I must use

[CMake] touch flag once all (target) sucess

2011-08-04 Thread t m
Hi All, I would like to touch flag file in the CMAKE_BINARY_DIR once the target all is executed with sucess. Since currently I'm not able to specify the dependency to this build-in target I do not have any hook to recognize if all sucess and to touch file. 1. Does anyone knows any hint that can

Re: [CMake] [Cmake/SWIG/JAVA/WINDOWS] add -Wl,--kill-at flag

2011-08-04 Thread David Cole
Are you sure you don't just need an: extern C { } block around a function implemented in a C++ file...? On Thu, Aug 4, 2011 at 7:30 AM, Benjamin Ruard ru...@artenum.com wrote: Hi everybody, I use CMake to wrap a c++ library in Java with swig. When I use linux OS it works very well, but when

Re: [CMake] [Cmake/SWIG/JAVA/WINDOWS] add -Wl,--kill-at flag

2011-08-04 Thread Benjamin Ruard
Thanks for your answer, but The block: extern C { ... } already exists. Regards. Benjamin JEANTY-RUARD Le jeudi 04 août 2011 à 08:40 -0400, David Cole a écrit : Are you sure you don't just need an: extern C { } block around a function implemented in a C++ file...? On Thu, Aug 4,

Re: [CMake] How to create a 64-bit Windows build of cmake? Added for building vtk-5.0.0

2011-08-04 Thread John R. Cary
To close out this thread, I think I can now explain what was happening. I was indeed getting a win64-release version of cmake, by configuring in a Visual Studio Win64 command window with cmake \ -G 'NMake Makefiles' -DCMAKE_INSTALL_PREFIX:PATH=C:/winsame/contrib-vs9/cmake-2.8.5-ser \

[CMake] include directories,

2011-08-04 Thread Łukasz Tasz
Hi All, I have a question according include_directories() function and INCLUDE_DIRECTORIES directory property. Is it possible that I will know set of include directories that will be used by preprocessor when I'm calling add_executable function? I notticed, that order does not matter, for

Re: [CMake] Include directories for C compile command

2011-08-04 Thread Glenn Coombs
CMake deliberately works in a top-down manner for most things. So variable values and preprocessor definitions are inherited in subdirectories from the values they had in the parent. And any subsequent changes made to them in the subdirectory scope are not propogated up to the parent. This is a

Re: [CMake] Easing the pain with Visual Studio 2010 and CMake

2011-08-04 Thread Glenn Coombs
We do much the same but use a batch file called startDevStudio.vs2010.cmake.bat like this in the top level: @echo off if not exist build\cmake mkdir build\cmake cd build\cmake cmake -G Visual Studio 10 ..\..\ IF ERRORLEVEL 1 ( echo. echo CMake configure failed echo.

[CMake] Wiki: enabling Cite extension?

2011-08-04 Thread Johannes Zarl
Hi, Working on the version compatibility matrix (which is now up-to-date once again), I came to think that the Cite extension for MediaWiki (http://www.mediawiki.org/wiki/Extension:Cite) would allow the compatibility matrix to be much more compact (by moving additional notes from the matrix

Re: [CMake] Wiki: enabling Cite extension?

2011-08-04 Thread David Cole
I've asked our wiki admins if they'll do this... I'll let you know what they say. Thanks, David C. On Thu, Aug 4, 2011 at 2:47 PM, Johannes Zarl johannes.z...@jku.at wrote: Hi, Working on the version compatibility matrix (which is now up-to-date once again), I came to think that the Cite

Re: [CMake] Bug in cmake 2.8.4/5 when using IMPORTED static targets?

2011-08-04 Thread Brad King
On 7/21/2011 1:07 PM, Marco Corvo wrote: Hi all, I'm trying to use a new feature of releases 2.8.4/5, that is the possibility to define dependencies for IMPORTED targets and when I run cmake I get a SIGSEV signal. Trying to get some more info with Valgrind I found that: I can reproduce this

Re: [CMake] Bug in cmake 2.8.4/5 when using IMPORTED static targets?

2011-08-04 Thread Brad King
On 8/4/2011 3:29 PM, Brad King wrote: This was a dumb mistake on my part. I will fix it. Meanwhile you can avoid the crash by not making an imported target depend on a target that does not exist. Fixed to ignore dangling dependencies instead of crashing:

[CMake] Setting MIDL Include path via cmake

2011-08-04 Thread Paul Whelan
Hi guys, I'm new to the mailing list and fairly new to cmake itself, so I hope this isn't to basic a question to be posting here. Please refer me to the appropriate url/forum, etc if it is. I have a windows COM project that I'm trying to convert to a cmake build. The IDL file in that

Re: [CMake] Setting MIDL Include path via cmake

2011-08-04 Thread David Cole
Does calling include_directories(${CMAKE_CURRENT_BINARY_DIR}) before calling add_library work? On Thu, Aug 4, 2011 at 4:14 PM, Paul Whelan pwhe...@aer.com wrote: Hi guys, I'm new to the mailing list and fairly new to cmake itself, so I hope this isn't to basic a question to be posting

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

2011-08-04 Thread Sean McBride
David, http://public.kitware.com/Bug/view.php?id=12381 Cheers, Sean ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ

[CMake] Accessing the parent directory of current directory

2011-08-04 Thread Vinay Raj Hampapur
Hello, I'm new to CMake and am trying to include files present in a directory which is a sibling to my own. I want to acheive this by accessing the parent directory and then moving into the other child directory. Any help in this regard is greatly appreciated. Thanks, Vinay

Re: [CMake] Accessing the parent directory of current directory

2011-08-04 Thread J Decker
#include ../peer/peer.h ? include_directories( ../peer ) #include peer.h On Thu, Aug 4, 2011 at 4:48 PM, Vinay Raj Hampapur vinayraj.hampa...@gmail.com wrote: Hello,    I'm new to CMake and am trying to include files present in a directory which is a sibling to my own. I want to

Re: [CMake] Accessing the parent directory of current directory

2011-08-04 Thread j s
Angle brackets are for system files, use quotes instead. include_directories( ../peer ) #include peer.h Regards, Juan On Thu, Aug 4, 2011 at 6:52 PM, J Decker d3c...@gmail.com wrote: #include ../peer/peer.h ? include_directories( ../peer ) #include peer.h On Thu, Aug 4, 2011 at 4:48

Re: [CMake] Accessing the parent directory of current directory

2011-08-04 Thread Vinay Raj Hampapur
er.. Here's the directory structure I'm working with : Alice +Steve + steve.cpp + steve.h +Bob + bob.cpp + bob.h The CMakeLists.txt file is in the Bob folder. I'm trying to include the files from the

Re: [CMake] Accessing the parent directory of current directory

2011-08-04 Thread j s
Did you try the quotation marks, instead of angle brackets? Angle brackets won't allow bob.cpp to see bob.h. If you want to be pedantic. INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/Steve. Also make sure that you completely regenerate your cmake build directory, by at least deleting CMakeCache.txt,

[Cmake-commits] CMake branch, master, updated. v2.8.5-139-g5f0eba4

2011-08-04 Thread KWSys Robot
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via 5f0eba49f2978b65b39b0c2bb9079be53c5c7d47 (commit) from

[Cmake-commits] CMake branch, next, updated. v2.8.5-1430-gf1f2f01

2011-08-04 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via f1f2f01f58f68f6c57cc373cfcdb65b6552ca392 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.5-1432-g6947e83

2011-08-04 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 6947e837f3b4298ae5db3a7bed51dbb7359e8943 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.5-1434-ge5afff8

2011-08-04 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via e5afff8349c41063f5b6844b86240253ec9f923c (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.5-1436-g0a11f45

2011-08-04 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 0a11f45fc097b6e8850d0e485c47c1c7d84a7b19 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.5-1438-gad06fe1

2011-08-04 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via ad06fe1175ae0e9f45290411fd5069c5dc96a819 (commit) via