[Cmake-commits] CMake branch, master, updated. v3.5.2-485-g9b5929d

2016-04-20 Thread Kitware Robot
_VERSION_MINOR 5) -set(CMake_VERSION_PATCH 20160420) +set(CMake_VERSION_PATCH 20160421) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/

Re: [CMake] How to add dependency relations between libs and executable

2016-04-20 Thread J Decker
On Wed, Apr 20, 2016 at 6:21 PM, vakano wrote: > Hi, Chuck, > > Thanks for the explanation, it is very clear now. > > One last question is: > > *folder/proj_a* > CMakeLists.txt: > add_executable(A main.cpp) > target_link_libraries(A B C) > > *folder/proj_b* >

Re: [CMake] How to add dependency relations between libs and executable

2016-04-20 Thread vakano
Hi, Chuck, Thanks for the explanation, it is very clear now. One last question is: *folder/proj_a* CMakeLists.txt: add_executable(A main.cpp) target_link_libraries(A B C) *folder/proj_b* CMakeLists.txt: project(proj_b) add_library(B proj_b.cpp) in your proj_a example, when

[Cmake-commits] CMake branch, next, updated. v3.5.2-1052-g860c13c

2016-04-20 Thread Rolf Eike Beer
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 860c13c059f6f434756365516f43673d41780218 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.5.2-1047-gf2f5d30

2016-04-20 Thread Rolf Eike Beer
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 f2f5d3086d2eecec219e26740e0bcb556e3dd133 (commit) via

Re: [CMake] How to check if Eclipse CDT4 generated project is set up correctly?

2016-04-20 Thread Alexander Neundorf
On Monday, April 18, 2016 16:57:52 Nils Rathmann wrote: > Hi, > when I setup with the Eclipse CDT4 generator, as described here: > https://cmake.org/Wiki/Eclipse_CDT4_Generator4 > > my [Targets] folder contains virtual folders for CMakeRules, Header > Files, Object Files, Resources and Source

[CMake] Adding include directories to generated CUDA files

2016-04-20 Thread Karl Ljungkvist
Hi all, I'm working with enabling CUDA support for the Finite Element Method library Deal.II, which includes a couple of cmake macros for the user to set up their Deal.II application. Inside one of these, I now need to correctly configure the include directories for the intermediately

[Cmake-commits] CMake branch, next, updated. v3.5.2-1045-g356a3f6

2016-04-20 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 356a3f60095d1f5132f590833737fed4db766580 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.5.2-1037-gefa58e5

2016-04-20 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 efa58e5e4cc5107eb06ecd85fd160630c986b53d (commit) via

[Cmake-commits] CMake branch, next, updated. v3.5.2-1030-gb7dea4e

2016-04-20 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 b7dea4e038f645ebb5269d35a10cadf3ce9e8bb7 (commit) via

[cmake-developers] [CMake 0016072]: flex macro can't handle parenthesis in path

2016-04-20 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=16072 == Reported By:Raymond Langer Assigned To:

Re: [CMake] Using Clang + Ninja on Windows?

2016-04-20 Thread Brad King
On 04/20/2016 10:01 AM, Johan Holmberg wrote: > I tried specifying "-GNinja" to cmake, and setting CC/CXX to > clang/clang++. Good. > But this didn't work. I get errors like: > > clang.exe: error: no such file or directory: '/nologo' > > indicating that CMake thinks it should pass Visual C++

[CMake] Using Clang + Ninja on Windows?

2016-04-20 Thread Johan Holmberg
Hi! How should I setup CMake to build a C/C++ application on Windows using clang/clang++ as compilers and Ninja as build tool? I tried specifying "-GNinja" to cmake, and setting CC/CXX to clang/clang++. But this didn't work. I get errors like: clang.exe: error: no such file or directory:

[Cmake-commits] CMake branch, next, updated. v3.5.2-1026-gf90469f

2016-04-20 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 f90469f107a8b7182e65bd4f9fbe315fc149f149 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.5.2-482-g0d4c75e

2016-04-20 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 0d4c75ecfbabc55b5705f21982a84ab5fa6b7e18 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.5.2-484-g484958b

2016-04-20 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 484958b781dcfaf12a29a5c916277fc7d4b01fbd (commit) via

[Cmake-commits] CMake branch, master, updated. v3.5.2-478-gf223652

2016-04-20 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 f22365279078d522e7b5347ecb7b87377f50f0c5 (commit) via

Re: [cmake-developers] CMake API for warnings

2016-04-20 Thread Ruslan Baratov via cmake-developers
So here is a summary of this feature so far: Introducing new 3 functions for controlling compiler warnings: 1) add_compile_warnings * similar to add_definitions, add_compile_options * modify COMPILE_WARNINGS directory property (append) 2) target_compile_warnings * similar to

[Cmake-commits] CMake branch, next, updated. v3.5.2-1020-gf30abe6

2016-04-20 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 f30abe68b13c3bdd7f4a44f1e4173156eefc8c99 (commit) via

Re: [CMake] How to add dependency relations between libs and executable

2016-04-20 Thread Chuck Atkins
> So for this parallel project structure, an upper level cmakelist used to > organize and setup relationship with lib A, B, C right? > Correct. The top level CMakeLists.txt lets A B and C all build under a single configuration. One more question is, if use the upper level cmake list, lib_B ,

Re: [CMake] how to really change CMake linker

2016-04-20 Thread Claudio C
The proposed solution does not seem to work. There is now an issue related https://cmake.org/Bug/view.php?id=16059 -- Ing. Claudio Caraffi, PhD E-Mail: claudio.cara...@gmail.com -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at:

[CMake] Module CheckIncludeFile should notify in case of flag errors

2016-04-20 Thread Claudio C
I recently struggled with the command CheckIncludeFile (and siblings) while working with a custom toolchain. Even if I was setting the necessary CMAKE_SYSROOT, include_directories and even CMAKE_REQUIRED_INCLUDES, the commands would report a given header was not found. When I hacked into:

Re: [CMake] How to use CMake with Eclipse CDT?

2016-04-20 Thread Matějů Miroslav , Ing .
Hi David, Generation of project files in CMake is a one-way process. CMake is not able to edit its own input (CMakeLists.txt). To update a project managed by CMake, you should update CMakeLists.txt manually and regenerate your CDT project. Best regards, Miroslav From: CMake

[CMake] How to use CMake with Eclipse CDT?

2016-04-20 Thread David Aldrich
Hi I want to build an Eclipse CDT (C++) project on Linux that can be maintained using CMake. I have seen the notes on the Eclipse CDT4 Generator here: https://cmake.org/Wiki/Eclipse_CDT4_Generator Is the sole purpose of that generator to create a CDT project from a CMake makefile? Or,

[CMake] How to use CMake with Eclipse CDT?

2016-04-20 Thread David Aldrich
Hi I want to build an Eclipse CDT (C++) project on Linux that can be maintained using CMake. I have seen the notes on the Eclipse CDT4 Generator here: https://cmake.org/Wiki/Eclipse_CDT4_Generator Is the sole purpose of that generator to create a CDT project from a CMake makefile? Or,