[cmake-developers] [CMake 0013311]: LINK arguments incomplete when using cmake --find_package

2012-06-18 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=13311 == Reported By:Hendrik Sattler Assigned To:

Re: [cmake-developers] Extending CMAKE_EXPORT_COMPILE_COMMANDS

2012-06-18 Thread Stephen Kelly
Bertjan Broeksema wrote: Hi List, I recently found out about the CMAKE_EXPORT_COMPILE_COMMANDS option while getting myself familiar with clang. In a tool [1] I'm working on (or rather, start to work again) I need something similar. Hi Bertjan, Here's something interesting for you :)

Re: [cmake-developers] CMAKE_EXPORT_COMPILE_COMMANDS undocumented

2012-06-18 Thread Brad King
On 06/16/2012 02:53 AM, Eric Noulard wrote: The CMAKE_EXPORT_COMPILE_COMMANDS is not documented i.e. not available when using cmake --help-variable CMAKE_EXPORT_COMPILE_COMMANDS is it intentional because it is to be considered 'internal' to CMake shall it be added? When the feature was

[cmake-developers] [CMake 0013312]: Finding the tk.framework inside of Xcode 4.3 fails to find the private headers

2012-06-18 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=13312 == Reported By:Samuel John Assigned To:

[cmake-developers] [CMake 0013313]: [Eclipse CDT] The MinGW include pathentry are not added to the .cproject

2012-06-18 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=13313 == Reported By:Eric Beuque Assigned To:

Re: [cmake-developers] Faster automoc with parallel processing?

2012-06-18 Thread Alexander Neundorf
On Sunday 17 June 2012, Thomas Sondergaard wrote: Hi, I've tested the new automoc feature and it certainly makes the developers life simpler and the CMakeLists.txt a lot simpler. Thanks for that, it is a great improvement. On Windows with MSVC 2010 Generator, moc seems to be very slow and

[cmake-developers] [CMake 0013314]: Fixes for various dashboard test failures

2012-06-18 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=13314 == Reported By:Daniel R. Gomez Assigned To:

Re: [CMake] cpack DEB generator docs

2012-06-18 Thread Eric Noulard
2012/6/18 Doug douglas.lin...@gmail.com: Hm... I can't edit the wiki myself without going through the process of getting an account. Then you should get an account :-) Would it be possible to add just a note to this page:

[CMake] ExternalProject_Add and Boost

2012-06-18 Thread Knox, Kent
Hi all~ I have been experimenting in my project with using ExternalProject_Add. My goal is to make our build process more automated, with less headache to get up and started developing on a fresh system. I decided that boost would be a great dependency to automate, which I successfully

Re: [CMake] cmake as pkg-config replacement has problems?

2012-06-18 Thread Hendrik Sattler
Am 2012-06-17 14:39, schrieb Alexander Neundorf: I consider this feature still experimental, it needs users (like you) to actually figure out whether it is real-world useful. Can you open a ticket for this please in the tracker ? Filed as issue #13311. IMHO, for a real pkg-config

Re: [CMake] cpack DEB generator docs

2012-06-18 Thread Doug
Yeah, I really should. :) Is this ok? Or shall I create a bug and attach the patch to that? (attach patch; it's very minor; just missing 3 of the variables) doug@shadowmint:~/ext/cmake$ ./bin/cpack --help-variable-list |grep DEB -- All in there now~ CPACK_RPM_PACKAGE_DEBUG

Re: [CMake] ExternalProject_Add and Boost

2012-06-18 Thread Mathias Gaunard
On 18/06/2012 08:42, Knox, Kent wrote: BUILD_COMMAND bjam --with-program_options address-model=64 toolset=msvc-11.0 link=static stage Two comments here: - bjam has been renamed to b2 since Boost 1.47 - this probably uses the bjam/b2 in the path, rather than the one that you just built with

[CMake] Setting the command Clean executes

2012-06-18 Thread Petr Kmoch
Hi all, is it possible to somehow set the command which 'make clean' or 'Build-Clean in VS' performs for a file? My situation is that a custom command creates a symlink to a directory. I'd like to delete this symlink when 'Clean' is performed. This fails silently on Unix (no action is performed)

Re: [CMake] cpack DEB generator docs

2012-06-18 Thread Eric Noulard
2012/6/18 Doug douglas.lin...@gmail.com: Yeah, I really should. :) Is this ok? Or shall I create a bug and attach the patch to that? (attach patch; it's very minor; just missing 3 of the variables) It's ok and pushed to next. Merge topic 'CPackDeb-docUpdate' into next 264c156 CPackDeb add

Re: [CMake] ExternalProject_Add and Boost

2012-06-18 Thread Ben Medina
4. ExternalProject_Add will download, configure and build projects at ‘build’ time. From the documentation, this sounded like a design decision. However, this means that you can’t use the already robust and mature findboost() module to configure the Boost project. Would it be possible

Re: [CMake] ExternalProject_Add and Boost

2012-06-18 Thread Knox, Kent
That is an interesting approach; if this 'superbuild' cmake project downloaded and built all the external dependencies first, then my project could find those dependencies with the appropriate find module? I suppose that the 'superbuild' could set the BOOST_ROOT variable (or other appropriate

Re: [CMake] ExternalProject_Add and Boost

2012-06-18 Thread Bill Hoffman
On 6/18/2012 2:03 PM, Knox, Kent wrote: That is an interesting approach; if this 'superbuild' cmake project downloaded and built all the external dependencies first, then my project could find those dependencies with the appropriate find module? I suppose that the 'superbuild' could set the

Re: [CMake] ExternalProject_Add and Boost

2012-06-18 Thread Knox, Kent
I'll check out the reference to b2, thanks for the heads up. My own project is hosted with SVN, not GIT, so I did not want to require my developers to find and install a git client to get the build to work; that is why I wanted to choose the zipball. --

Re: [CMake] ExternalProject_Add and Boost

2012-06-18 Thread Ben Medina
That's right. You can pass various initial cache entries, such as BOOST_ROOT, via the CMAKE_CACHE_ARGS parameter to ExternalProject_Add. A useful example of this is the Titan project: http://www.kitware.com/InfovisWiki/index.php/Main_Page You can see how it builds VTK as an external project,

Re: [CMake] help with shared-lib make failure

2012-06-18 Thread Andreas Naumann
Am 18.06.2012 08:34, schrieb luxInteg: On Sunday 17 June 2012 14:13:00 Andreas Naumann wrote: #--build2: gs_test/results.c. build disabled near beginning but comes in ~65% of build [ 65%] Building C object Lib/CMakeFiles/gsl.dir/__/test/results.c.o cd /home/TESTS/BUILDgsl/Lib

[CMake] Accepted way to add -fPIC onto CMAKE_CXX_FLAGS?

2012-06-18 Thread Michael Jackson
Linux really wants to have -fPIC for some of my code and I am trying to detect linux and then add this flag for my project but I am having no luck. if (LINUX) set(CMAKE_CXX_FLAGS ${CMAKE_CSS_FLAGS} -fPIC) endif() Is this NOT the way I should be doing this? It doesn't really fell correct

Re: [CMake] Accepted way to add -fPIC onto CMAKE_CXX_FLAGS?

2012-06-18 Thread Fraser Hutchison
I'm not a Linux guy, so hopefully someone else more knowledgeable can chime in here, but if you want to add to your CMAKE_CXX_FLAGS, you need to avoid creating a semi-colon-separated list by moving the quote mark: set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")

Re: [CMake] Accepted way to add -fPIC onto CMAKE_CXX_FLAGS?

2012-06-18 Thread Alain Leblanc
Starting to dislike the gmail program. So here's a corrected message , to the list this time: === This is how I've been doing for years. Doesn't mean it's the right way :) Here -O3 and -DLINUX don't apply to your case, and ${SRC_FILES} has been assigned

Re: [CMake] Accepted way to add -fPIC onto CMAKE_CXX_FLAGS?

2012-06-18 Thread Mathias Gaunard
On 18/06/2012 23:09, Michael Jackson wrote: Linux really wants to have -fPIC for some of my code and I am trying to detect linux and then add this flag for my project but I am having no luck. if (LINUX) set(CMAKE_CXX_FLAGS ${CMAKE_CSS_FLAGS} -fPIC) endif() Is this NOT the way I should

Re: [CMake] Accepted way to add -fPIC onto CMAKE_CXX_FLAGS?

2012-06-18 Thread Michael Jackson
Thanks everyone for the help. I really have a typo in my CMake code so thanks for every one for finding that. Basically we build a few libraries which other parts of our code depend on. One particular library has to be a shared library but links statically to the other libraries in order to

Re: [CMake] Accepted way to add -fPIC onto CMAKE_CXX_FLAGS?

2012-06-18 Thread Jean-Christophe Fillion-Robin
Hi Michael, To apply the flag on a specific target, consider looking at: https://github.com/commontk/Log4Qt/blob/patched/CMakeLists.txt#L116 Hth Jc On Mon, Jun 18, 2012 at 8:23 PM, Michael Jackson mike.jack...@bluequartz.net wrote: Thanks everyone for the help. I really have a typo in my

[CMake] Using the Microsoft compiler with Unix Makefiles

2012-06-18 Thread Braden McDaniel
Is it possible to use the Microsoft compiler (cl) with Unix Makefiles? I found some older list postings that suggested it could work; however, setting CC, CXX, and CMAKE_CXX_COMPILER to cl doesn't do the trick. (It appears that the compiler doesn't like some of the flags used in the

Re: [CMake] Using the Microsoft compiler with Unix Makefiles

2012-06-18 Thread William R. Otte
Hi Brendan - On Jun 18, 2012, at 11:49 PM, Braden McDaniel wrote: Is it possible to use the Microsoft compiler (cl) with Unix Makefiles? I found some older list postings that suggested it could work; however, setting CC, CXX, and CMAKE_CXX_COMPILER to cl doesn't do the trick. (It

[CMake] NMake + Compiler wrapper

2012-06-18 Thread Roland Schulz
Hi, should it work to use the NMake generator with a compiler wrapper like mpicc? If I try to use the mpicc from OpenMPI 1.6 it doesn't work (see below for messages). This is with cmake 2.8.8 and both with standard nmake and nmake-jom. It works fine without the wrapper and it also works find to

[Cmake-commits] CMake branch, next, updated. v2.8.8-3207-gff9fb4a

2012-06-18 Thread Peter Kuemmel
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 ff9fb4a7d13bbf78c16e52144767aa6ce2ee541c (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.8-3218-g86b2e5c

2012-06-18 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 86b2e5c2df7b21d062142a68d7d3172c5ca99c56 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.8-3220-gade923a

2012-06-18 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 ade923aa00d378b3d6dc0ce1b9aacca987af8cd6 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.8-3222-gc18cee9

2012-06-18 Thread Eric Noulard
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 c18cee97e21abbe1fb54f1ac00f4d763387d28f5 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.8-3224-g875b045

2012-06-18 Thread Eric Noulard
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 875b04503391d9c127396088ee1e27862c3eb489 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.8-3226-ge92d204

2012-06-18 Thread Eric Noulard
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 e92d204b950748e94d51ae992f3f1b1b7d0cca4a (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.8-3228-gd349843

2012-06-18 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 d349843a89b2b154f97915a59e0c8756cd449a17 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.8-3230-gc3f1e25

2012-06-18 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 c3f1e258cf3126738dde56992e2a4c79ce4fb63a (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.8-308-g4889188

2012-06-18 Thread Kitware Robot
Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index ba80ba9..3f48c27 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -2,5 +2,5 @@ SET(CMake_VERSION_MAJOR 2) SET(CMake_VERSION_MINOR 8) SET(CMake_VERSION_PATCH 8) -SET(CMake_VERSION_TWEAK 20120618