Re: [CMake] Help on first cmake project

2017-07-07 Thread Gonzalo GarramuƱo
El 07/07/17 a las 03:45, Florian Lindner escribiĆ³: * Any other advises you want to give me? I would advise you try to build out of source tree to keep the source clean. Example: $ mkdir build-linux64 $ cd build-linux64 $ cmake .. -G'Unix Makefiles' $ make $ make install when done, you can

Re: [CMake] FindDoxygen is doing find_package() when it is included

2017-07-07 Thread Robert Dailey
I actually confused myself a bit... I think the issue is not that finding happens when including it, but that doxygen_add_docs() is bundled with the find module. What is the intended usage of this? If I do find_package() will that also make doxygen_add_docs() available? Or do I have to explicitly

Re: [CMake] FindDoxygen is doing find_package() when it is included

2017-07-07 Thread Robert Dailey
Apologies for the confusion and spam: I figured out that when you do a find_package(), it also implicitly includes the contents of that module into your list file so you can access its functions. I was under the impression I had to include FindDoxygen.cmake explicitly to access the functions it

[CMake] FindDoxygen is doing find_package() when it is included

2017-07-07 Thread Robert Dailey
When I do this: message( "blah1" ) include( FindDoxygen ) message( "blah2" ) find_package( Doxygen 1.8.6 OPTIONAL_COMPONENTS dot ) message( "blah3" ) I get this output: blah1 -- Found Doxygen: C:/Program Files/doxygen/bin/doxygen.exe (found version "1.8.13") found components: doxygen

Re: [CMake] Parallel moc for Qt files

2017-07-07 Thread Benjamin Ballet via CMake
I don't know how to parallelize moc with CMake though I previously reduce moc time (sometimes it's very slow) : - by replacing as much #include as possible by forward-declaration - wrapping some #include around #ifndef Q_MOC_RUN ... #endif 2017-07-06 22:00 GMT+02:00 Michael Jackson

Re: [CMake] Help on first cmake project

2017-07-07 Thread J Decker
On Thu, Jul 6, 2017 at 11:45 PM, Florian Lindner wrote: > Hello, > > coming from scons I want to take a look into cmake... > > My CMakeList.txt looks like: > > > cmake_minimum_required (VERSION 3.0) > project (ASTE) > > add_executable(readMesh readMesh.cpp) > >

Re: [CMake] Parallel moc for Qt files

2017-07-07 Thread Michael Jackson
Looks like an interesting project. After reading the blog and reading the GitHub issue pages there seem to be serious issues with MSVC still which is a blocker for us. I will keep an eye on it though. -- Michael A. Jackson From: Cristian Adam

Re: [CMake] Parallel moc for Qt files

2017-07-07 Thread Michael Jackson
Thank you for the suggestions. It is almost like a Jom for moc needs to be written. -Mike Jackson From: Benjamin Ballet Sent: Friday, July 7, 2017 5:47:20 AM To: Michael Jackson Cc: cmake Subject: Re: [CMake] Parallel moc for Qt files I

Re: [CMake] Parallel moc for Qt files

2017-07-07 Thread Konstantin Tokarev
06.07.2017, 23:00, "Michael Jackson" : > I have a large list of files that need to have Qt's 'moc' run on them > (107 headers). I use all the normal CMake facilities for Qt based > projects. I noticed that the generation of the moc files are done > serially. Is there

[CMake] Help on first cmake project

2017-07-07 Thread Florian Lindner
Hello, coming from scons I want to take a look into cmake... My CMakeList.txt looks like: cmake_minimum_required (VERSION 3.0) project (ASTE) add_executable(readMesh readMesh.cpp) find_library(precice precice PATHS $ENV{PRECICE_ROOT}/build/last) target_link_libraries(readMesh ${precice})

Re: [cmake-developers] FindDoxygen is doing find_package() when it is included

2017-07-07 Thread Robert Dailey
I actually confused myself a bit... I think the issue is not that finding happens when including it, but that doxygen_add_docs() is bundled with the find module. What is the intended usage of this? If I do find_package() will that also make doxygen_add_docs() available? Or do I have to explicitly

Re: [cmake-developers] FindDoxygen is doing find_package() when it is included

2017-07-07 Thread Robert Dailey
Apologies for the confusion and spam: I figured out that when you do a find_package(), it also implicitly includes the contents of that module into your list file so you can access its functions. I was under the impression I had to include FindDoxygen.cmake explicitly to access the functions it

[Cmake-commits] CMake branch, master, updated. v3.9.0-rc5-244-g0ba4a4c

2017-07-07 Thread Kitware Robot
_VERSION_MINOR 9) -set(CMake_VERSION_PATCH 20170707) +set(CMake_VERSION_PATCH 20170708) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/

[Cmake-commits] CMake branch, release, updated. v3.9.0-rc5-19-g658ecc1

2017-07-07 Thread Kitware 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, release has been updated via 658ecc1a7cab54aeb738a00e7fee24aa4bd18adb (commit) via

[Cmake-commits] CMake branch, master, updated. v3.9.0-rc5-243-g2ef3527

2017-07-07 Thread Kitware 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 2ef3527dfe03ac6e5f5c49d13d99b2304381b0a8 (commit) via