Re: [cmake-developers] [ANNOUNCE] CMake 3.2.0-rc2 now ready for testing!

2015-02-25 Thread Roman Wüger
Hello Robert, is there a list which showing the changes between rc1 and rc2, to test such things explicitly? Regards Roman Am 24.02.2015 um 16:01 schrieb Robert Maynard robert.mayn...@kitware.com: I am proud to announce the CMake 3.2 second release candidate. Sources and binaries are

[Cmake-commits] CMake branch, master, updated. v3.2.0-rc2-310-gdbad497

2015-02-25 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, master has been updated via dbad49705ec07a80248e333e4ca7f6cc17fa3766 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.2.0-rc2-314-gef542c8

2015-02-25 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, master has been updated via ef542c86a53d0973e2de10cdaf140c9608e02402 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.2.0-rc2-312-gfa6da5f

2015-02-25 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, master has been updated via fa6da5fcd8aa5bdfa4a635a9890af9c7c09456a8 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.2.0-rc2-726-g3f6c93b

2015-02-25 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 3f6c93b98691da7426cd9b75bea1d6ba132091a8 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.2.0-rc2-304-gb38f535

2015-02-25 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, master has been updated via b38f535eaa648005d700e214ac77c774b4a7509e (commit) via

[Cmake-commits] CMake branch, master, updated. v3.2.0-rc2-308-g71a610f

2015-02-25 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, master has been updated via 71a610ff2997bd0d92c332572c0dd35405a77682 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.2.0-rc2-719-geba94c2

2015-02-25 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 eba94c24021fd411aa8196015bd91ad1f66ba61b (commit) via

[Cmake-commits] CMake branch, release, updated. v3.2.0-rc2-2-gcd935b0

2015-02-25 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, release has been updated via cd935b03bfee380f6d2a3999dbc9bf6f929485bc (commit) via

Re: [CMake] [cmake-developers] [ANNOUNCE] CMake 3.2.0-rc2 now ready for testing!

2015-02-25 Thread Roman Wüger
Hello Robert, is there a list which showing the changes between rc1 and rc2, to test such things explicitly? Regards Roman Am 24.02.2015 um 16:01 schrieb Robert Maynard robert.mayn...@kitware.com: I am proud to announce the CMake 3.2 second release candidate. Sources and binaries are

[cmake-developers] [CMake 0015418]: Wrong encoding for generated .sln

2015-02-25 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=15418 == Reported By:rhabarbersaft Assigned To:

Re: [CMake] load_command not scriptable

2015-02-25 Thread David Cole via CMake
You could patch the executable to make cmLoadCommandCommand return true from IsScriptable... but if you're going to the trouble of patching CMake anyhow, why not simply build your loadable command directly into CMake...? The other thing might be to mention specifically what the performance

Re: [cmake-developers] [ANNOUNCE] CMake 3.2.0-rc2 now ready for testing!

2015-02-25 Thread Robert Maynard
Hi Roman, We do attach the short-log of all changes made between each RC version to the bottom of the annoucement. But here are the changes plus the git SHA1's for each ( produced with git log --no-merges --oneline v3.2.0-rc1..v3.2.0-rc2) 99575c9 CMake 3.2.0-rc2 b4005a3 FindCurses: Drop unused

[CMake] Creating DLL from FORTRAN code

2015-02-25 Thread Doron Klepach
Hello there, I am new to CMake and I am trying to convert a project to work with CMake. As a part of the process I need to create a DLL from a FORTRAN code. Here are some details: *The code works on Visual Studio and creates the DLL as required. *The main subroutine looks like this:

Re: [CMake] Creating DLL from FORTRAN code

2015-02-25 Thread Petr Kmoch
Hi Doron, it would be helpful if you provided the error you're getting from add_library(), and also showed the exact CMake code you used. Petr On Wed, Feb 25, 2015 at 1:57 PM, Doron Klepach klepa...@gmail.com wrote: Hello there, I am new to CMake and I am trying to convert a project to work

Re: [CMake] Creating DLL from FORTRAN code

2015-02-25 Thread Doron Klepach
Hello Petr, Thank you for the quick reply. At this point I am not getting any errors, but nothing happens when I build the sln in Visual Studio - no dll is created. Here is the main CMake code: cmake_minimum_required (VERSION 3.1) project (micro_linMatl_I) enable_language (Fortran) # The

Re: [CMake] Creating DLL from FORTRAN code

2015-02-25 Thread Petr Kmoch
You're not giving the DLL micro_linMatl_l any source files, so there's nothing to build. You need to list at least one source file in the add_library() call. You mentioned a main subroutine in your first e-mail; the file containing the main subroutine should be listed in the add_library(SHARED)

Re: [CMake] [cmake-developers] [ANNOUNCE] CMake 3.2.0-rc2 now ready for testing!

2015-02-25 Thread Robert Maynard
Hi Roman, We do attach the short-log of all changes made between each RC version to the bottom of the annoucement. But here are the changes plus the git SHA1's for each ( produced with git log --no-merges --oneline v3.2.0-rc1..v3.2.0-rc2) 99575c9 CMake 3.2.0-rc2 b4005a3 FindCurses: Drop unused

Re: [CMake] Problems with combo CMake/MSVC2013/Qt5

2015-02-25 Thread Jakob van Bethlehem
Hello, Thanks for the quick reply! On Tue, Feb 24, 2015 at 7:54 PM, Stephen Kelly steve...@gmail.com wrote: Jakob van Bethlehem wrote: Dear users, set(CMAKE_PREFIX_PATH C:/Qt/Qt5.4.0/5.4/msvc2013_64_opengl/lib/cmake) Don't do this. Pass CMAKE_PREFIX_PATH as an argument to cmake.

Re: [cmake-developers] Introduction and volunteering for the Matlab package

2015-02-25 Thread Brad King
On 02/25/2015 04:11 AM, Raffi Enficiaud wrote: Is it ok if I rebase on 1416d21? Yes, please. Thanks, -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake

[Cmake-commits] CMake branch, next, updated. v3.2.0-rc2-732-gf36c284

2015-02-25 Thread Zack Galbreath
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 f36c2841a7a62fb1d6df9c12065f79f4a54be996 (commit) via

Re: [cmake-developers] KWSys patches

2015-02-25 Thread Brad King
On 02/23/2015 12:55 PM, Brad King wrote: On 02/21/2015 04:33 PM, Domen Vrankar wrote: Attached are patches with fixed patch 3. Thanks. I'll start with the SystemTools change which I've split out into its own commit and pushed here: http://review.source.kitware.com/#/c/19304/ That one

[CMake] external project add, clone without history

2015-02-25 Thread Miklos Espak
Hi, is it possible to specify the --depth 1 argument in ExternalProject_Add for cloning projects from git? Cheers, Miklos -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support

Re: [cmake-developers] Object library linking (and a bit about INTERFACE_SOURCES)

2015-02-25 Thread Brad King
On 02/24/2015 05:25 PM, Stephen Kelly wrote: Until that problem is solved we cannot make object libraries implicitly offer their objects just through tll(). Honestly, the problem is still not clear to me. Consider an object library with some usage requirements: add_library(objlib OBJECT

[Cmake-commits] CMake branch, next, updated. v3.2.0-rc2-736-g3fd4bd8

2015-02-25 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 3fd4bd8cf59b0e3612f4d946201f63485f245649 (commit) via

Re: [CMake] [cmake-developers] [ANNOUNCE] CMake 3.2.0-rc2 now ready for testing!

2015-02-25 Thread Roman Wüger
Thank you very much Am 25.02.2015 um 15:12 schrieb Robert Maynard robert.mayn...@kitware.com: Hi Roman, We do attach the short-log of all changes made between each RC version to the bottom of the annoucement. But here are the changes plus the git SHA1's for each ( produced with git log

Re: [cmake-developers] [ANNOUNCE] CMake 3.2.0-rc2 now ready for testing!

2015-02-25 Thread Roman Wüger
Thank you very much Am 25.02.2015 um 15:12 schrieb Robert Maynard robert.mayn...@kitware.com: Hi Roman, We do attach the short-log of all changes made between each RC version to the bottom of the annoucement. But here are the changes plus the git SHA1's for each ( produced with git log

[cmake-developers] Ninja Generator and CMAKE_VERBOSE_MAKEFILE

2015-02-25 Thread Gregor Jasny
Hello, For our CI and production build we call cmake --build to execute the actual build. To be able to examine the build logs we added -DCMAKE_VERBOSE_MAKEFILE=ON to the configuration step. This worked as expected for the Makefile generator but is ignored for Ninja. As far as I understand the

[Cmake-commits] CMake branch, next, updated. v3.2.0-rc2-741-g9715186

2015-02-25 Thread Zack Galbreath
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 9715186541d1b94762a36a85ad769339c13c9c60 (commit) via

[cmake-developers] [PATCH v6 2/2] Add XCTest example to test Frameworks and Cocoa App Bundles

2015-02-25 Thread Gregor Jasny
Signed-off-by: Gregor Jasny gja...@googlemail.com --- Tests/CMakeLists.txt | 13 + Tests/XCTest/CMakeLists.txt| 62 ++ Tests/XCTest/CocoaExample/AppDelegate.h| 7 + Tests/XCTest/CocoaExample/AppDelegate.m| 18 +

[cmake-developers] [PATCH v6 1/2] Add handling for XCTest bundles

2015-02-25 Thread Gregor Jasny
An XCTest bundle is a CFBundle with a special product-type and bundle extension. For more information about XCTest visit the Mac Developer library at: http://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/testing_with_xcode/ Signed-off-by: Gregor Jasny

Re: [cmake-developers] Object library linking (and a bit about INTERFACE_SOURCES)

2015-02-25 Thread Ben Boeckel
On Mon, Feb 23, 2015 at 13:44:13 -0500, Ben Boeckel wrote: snip After discussion with Brad here, the current, tentative, plan is as follows: - When creating $LINK_ONLY generator expressions, if the name is a target, add $TARGET_NAME as well. This will help the exporter find targets

[cmake-developers] [PATCH v6 0/2] Add XCTest Bundle Support

2015-02-25 Thread Gregor Jasny
Hello, this series contains the latest XCTest patches. Changes since v5: * Rebased against master (could drop two applied patches) * kept help modules list sorted * indirected xctest wiring Thanks, Gregor Gregor Jasny (2): Add handling for XCTest bundles Add XCTest example to test

[CMake] fortran modules and parallel builds

2015-02-25 Thread Zaak Beekman
When multiple executables or libraries depend on the same fortran source file that contains a module, parallel (Makefile) builds are failing for me because the .mod file is getting moved/renamed/written by more than one process at a time. Is there a way to have the same module containing

Re: [cmake-developers] Ninja Generator and CMAKE_VERBOSE_MAKEFILE

2015-02-25 Thread Brad King
On 02/25/2015 12:38 PM, Gregor Jasny wrote: Ninja has no equivalent option. As a work-around would it be possible that cmake --build examines the cache, detects CMAKE_VERBOSE_MAKEFILE=ON and adds a -v to the Ninja invocation? If you know that the build tree was generated with the Ninja

[Cmake-commits] CMake branch, next, updated. v3.2.0-rc2-743-g731f112

2015-02-25 Thread Zack Galbreath
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 731f11216cb3f40fd7ab5facfc037759e4e62838 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.2.0-rc2-745-g966b73f

2015-02-25 Thread Zack Galbreath
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 966b73f5903810892388aecd379d844e1d830169 (commit) via

[cmake-developers] [PATCH] Pass CMAKE_VERBOSE_MAKEFILE value to Ninja Generator

2015-02-25 Thread Gregor Jasny
Ninja build system does not support a in-Makefile verbositiy switch. So we use cmake --build as a fall back to extract the CMAKE_VERBOSE_MAKEFILE property and pass it as an optional -v argument to Ninja. Signed-off-by: Gregor Jasny gja...@googlemail.com --- Source/cmGlobalGenerator.cxx | 2

[cmake-developers] [CMake 0015419]: QtAutogen does not regenerate moc file when moc inputs change

2015-02-25 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=15419 == Reported By:Stephen Kelly Assigned To:

Re: [CMake] fortran modules and parallel builds

2015-02-25 Thread Brad King
On 02/25/2015 01:58 PM, Zaak Beekman wrote: When multiple executables or libraries depend on the same fortran source file that contains a module, parallel (Makefile) builds are failing for me because the .mod file is getting moved/renamed/written by more than one process at a time. Is there a

[Cmake-commits] CMake branch, next, updated. v3.2.0-rc2-747-g9c73f92

2015-02-25 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 9c73f92cde601f229547ed4795a4d4d351b43a02 (commit) via

[cmake-developers] [CMake 0015420]: QtAutogen should track uic external inputs

2015-02-25 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=15420 == Reported By:Stephen Kelly Assigned To:

Re: [cmake-developers] [PATCH] Pass CMAKE_VERBOSE_MAKEFILE value to Ninja Generator

2015-02-25 Thread Brad King
On 02/25/2015 04:24 PM, Gregor Jasny wrote: Ninja build system does not support a in-Makefile verbositiy switch. So we use cmake --build as a fall back to extract the CMAKE_VERBOSE_MAKEFILE property and pass it as an optional -v argument to Ninja. Thanks for working on this. +

Re: [CMake] can I make an AUTOMOC generated file depend on something ?

2015-02-25 Thread Stephen Kelly
Kim Rydhof Thor Hansen wrote: http://www.cmake.org/cmake/help/v3.0/prop_tgt/AUTOGEN_TARGET_DEPENDS.html I have a similar problem because automoc doesn't pick up that my metadata.json file is a dependency to the generated moc_plugin.cpp when building a Qt plugin Thanks for the testcase. I

Re: [cmake-developers] Object library linking (and a bit about INTERFACE_SOURCES)

2015-02-25 Thread Stephen Kelly
Brad King wrote: On 02/24/2015 05:25 PM, Stephen Kelly wrote: Until that problem is solved we cannot make object libraries implicitly offer their objects just through tll(). Honestly, the problem is still not clear to me. Consider an object library with some usage requirements:

Re: [cmake-developers] Object library linking (and a bit about INTERFACE_SOURCES)

2015-02-25 Thread Stephen Kelly
Ben Boeckel wrote: On Wed, Feb 25, 2015 at 22:57:13 +0100, Stephen Kelly wrote: What I envision for the future is: add_library(objlib OBJECT ...) target_compile_definitions(objlib PUBLIC MYDEF) target_sources(objlib INTERFACE $TARGET_OBJECTS:objlib) Do you envision that as the

Re: [CMake] external project add, clone without history

2015-02-25 Thread J. Caleb Wherry
Actually, scratch my last comment and submodules. There looks to be a GIT_SUBMODULES option that says if not given, all submodules will be updated. I am assuming that means the CMake passes in the --recursive option automatically when cloning. Haven't tested it yet though... -Caleb On Wed, Feb

Re: [cmake-developers] Object library linking (and a bit about INTERFACE_SOURCES)

2015-02-25 Thread Ben Boeckel
On Wed, Feb 25, 2015 at 22:57:13 +0100, Stephen Kelly wrote: What I envision for the future is: add_library(objlib OBJECT ...) target_compile_definitions(objlib PUBLIC MYDEF) target_sources(objlib INTERFACE $TARGET_OBJECTS:objlib) Do you envision that as the idiomatic way to

Re: [CMake] load_command not scriptable

2015-02-25 Thread Tobias Becker
Thanks for the Answer! I actually do not want to alter CMake in any way (and I don't want to create a custom cmake executable) if possible. load_command would have been perfekt. I am losing alot of performance in my map_set() map_get() etc functions which translate down to

Re: [CMake] external project add, clone without history

2015-02-25 Thread J. Caleb Wherry
Miklos, I did a quick test and using the DOWNLOAD_COMMAND option to ExternalProject_Add works nicely: ExternalProject_Add(sfml PREFIX ${sfml_PREFIX} DOWNLOAD_COMMAND git clone --depth 1 https://github.com/LaurentGomila/SFML.git INSTALL_DIR ${sfml_INSTALL_DIR} CMAKE_ARGS

Re: [CMake] Listing generated source files in cmake project

2015-02-25 Thread Nicolás Adamić
On 02/25/2015 12:50 AM, Dmytro Poplavskiy wrote: I have some source files generated as a part of build process, generated using add_custom_command(). Building works fine, but would be nice to have generated source files to be displayed in IDE project (QtCreator using CodeBlocks generator). I'd

Re: [cmake-developers] Object library linking (and a bit about INTERFACE_SOURCES)

2015-02-25 Thread Stephen Kelly
Ben Boeckel wrote: It is just as easy to get into this situation when linking static libraries, right? Object libraries are not part of the problem, right? Or could you post a sscce? It is, so maybe it's less of an issue. I just think it is much easier to stumble upon it when you start

Re: [CMake] external project add, clone without history

2015-02-25 Thread Miklos Espak
That's great, I will try that. Thanks very much, Miklos On 25 February 2015 at 23:32, J. Caleb Wherry calebwhe...@gmail.com wrote: Miklos, I did a quick test and using the DOWNLOAD_COMMAND option to ExternalProject_Add works nicely: ExternalProject_Add(sfml PREFIX ${sfml_PREFIX}

[Cmake-commits] CMake branch, master, updated. v3.2.0-rc2-317-g1c3799b

2015-02-25 Thread Kitware Robot
20150225) +set(CMake_VERSION_PATCH 20150226) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- CMake

[CMake] load_command not scriptable

2015-02-25 Thread Tobias Becker
Hi I've been working on an open source project which provides alot of extra cmake (in pure cmake) https://github.com/toeb/cmakepp. I am however hitting a performance bottleneck and want to get around that by using load_command (I know it is discouraged) however I have the problem that it is not

Re: [CMake] Setting build type

2015-02-25 Thread J Decker
mkdir build-d cd build-d cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=out ../your/source/procject cmake --build . cd .. mkdir build-r cd build-r cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=out ../your/source/procject cmake --build . --target install cd .. On Wed, Feb 25,

[CMake] CMake Version Compatibility Matrix

2015-02-25 Thread Marcel Loose
Hi all, Is there any chance that the version compatibility matrix will be updated for cmake 3.x features? Best regards, Marcel Loose. attachment: loose.vcf-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware

Re: [cmake-developers] Introduction and volunteering for the Matlab package

2015-02-25 Thread Raffi Enficiaud
Hi Brad, Thanks, I started addressing the issues, hopefully I will finish today. Is it ok if I rebase on 1416d21? Best, Raffi On 23 Feb 2015, at 18:54, Brad King brad.k...@kitware.com wrote: Hi Raffi, Your matlab-enabled nightly builds have been clean for a few days on all the

Re: [CMake] Setting build type

2015-02-25 Thread Adam Getchell
Thanks for your reply. I'm not sure I follow your answer. I do delete the directory each time I build, but I'm still not understanding how you're building release or debug versions to begin with. I'm just automatically getting Release, unless I edit CMakeCache.txt after I've built once. I just

Re: [cmake-developers] Questions about code reviews and static analysis tools for TU Delft research

2015-02-25 Thread Radjino Bholanath
Thanks for answering Brad, I appreciate it. - Radjino From: Brad King [brad.k...@kitware.com] Sent: Tuesday, February 24, 2015 4:27 PM To: Radjino Bholanath Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] Questions about code reviews and

[CMake] xcodeproj cannot be opened because the project file cannot be parsed

2015-02-25 Thread Biddiscombe, John A.
When generating Xcode projects on OSX, for larger projects I get this error when I attempt to open them (smaller/simpler ones seem to be ok). In one particular example the Xcode generated project is approx 14MB in size. Does anyone know of any tools to diagnose what is wrong with the generated

Re: [cmake-developers] Fwd: CMake Error when configure nanomsg on Windows 8.1 and VS2013

2015-02-25 Thread 刘铁刚
I extracted .zip with WinRAR. Since you said extracting the .zip is expected to work,I uninstall CMake and extracting the .zip again. It's works well this time. No only that, I've done the same thing(extracting and run directly) on another clean machine,it also works well. It's strange,right?