Re: [cmake-developers] add_custom_command changes, was [Introductions and questions]

2014-01-30 Thread Petr Kmoch
Hi. I am only a CMake user, not a developer, but I wholeheartedly support adding the CONFIG keyword to add_custom_*(). While variations in COMMAND can be handled by generator expressions, variations in OUTPUT can't (see e.g. bug 12877). Thus, adding the CONFIG keyword would kill two (very

[CMake] Out-of-tree build with multiple executables for eclipse

2014-01-30 Thread Azzurite
Hello, I'm very new to CMake. I'm trying to set up an out-of-source C++ build on Windows with CMake so I can use version control with eclipse (mingw make). My setup should look like this: Root --- build --- src --- test src/ contains my program code and test/ the unit tests. There is a main

[CMake] include_directories(...) versus set_directory_properties(PROPERTIES INCLUDE_DIRECTORIES ...)

2014-01-30 Thread Marcel Loose
Hi all, Recently I ran into a problem with a medium-large sized project with newer CMakes. At first I didn't know what was going on: a cmake run started to crawl, until it almost came to a standstill and then the OS killed my login session. It turned out that, just before being logged out

Re: [CMake] Reverse logic

2014-01-30 Thread Matthew Woehlke
On 2014-01-29 19:09, Rob McDonald wrote: I feel like this is a really dumb question, but I've got myself wrapped around the axel I'd like to use a negative conditional on a variable that may or may not be defined... say USE_SYSTEM_FOO So, I'd like to do something like this... IF( NOT

[CMake] retrieving and manipulating (Fortran) dependency information

2014-01-30 Thread Zaak Beekman
I noticed that output_required_files is deprecated. Is there a way to determine the dependencies of a Fortran source file that I can then manipulate in a CMakeLists.txt file? Fortran dependency resolution is a pain, and I need to determine dependencies for a custom target. TIA, Zaak -- Powered

Re: [CMake] Add support for Metro apps

2014-01-30 Thread Minmin Gong
Here comes a new version of this patch. In this version, ARM are also supported. Modifications include: 1. Determine MSVC ARM compiler. Cmake can determine and test VC's x86-arm compiler correctly, and mark it as cross compiling. This feature is inspired by Martell Malone's patch in

[CMake] AStyle or similar code beautifier

2014-01-30 Thread Rob McDonald
All, I'm interested in adding a code beautifier to my project. I'm looking at AStyle, but am open to others. Implementing a FindAStyle.cmake is pretty trivial. Likewise, implementing custom targets is pretty straightforward in the simple case. However, I thought there might be some

[Cmake-commits] CMake branch, next, updated. v2.8.12.2-7354-g0222788

2014-01-30 Thread Eran Ifrah
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 02227888b572de741df035dd58f83deca21c5ff9 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.12.2-1293-gf35c01e

2014-01-30 Thread Kitware Robot
Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index 60894b2..27d06e4 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 12) -set(CMake_VERSION_TWEAK 20140130