[CMake] About multiple toolchains support in big project

2017-04-28 Thread 刘松
Hi CMake experts, I want to use CMake build system for large projects, which will uses different toolchains. Let’s take one simple example: There are two project, one is using the arm cross toolchain, another one is using the dsp toolchain. cmake_projects/ ├── CMakeLists.txt ├── arm_project

[CMake] DLL handling under CMake

2017-04-28 Thread Louis-Paul CORDIER
Hi, I'm using CMake for a while now for cross-platform project. In opposition to Linux, Windows does not have a library system management through a repository system. I would say that 99% of applications that have common libraries between them does not share the runtimes. Each time, the .dll

[CMake] Inconsistent parsing of bracket comments in command arguments

2017-04-28 Thread Volo Zyko
Hi, I've encountered the following behavior. Code like 'set(FOO#[[bar]] 1)' is parsed fine by cmake, but for the code 'set(FOO #[[bar]]1)' cmake reports: Syntax Error in cmake code at column 13 Argument not separated from preceding token by whitespace. Is this by design or just an

Re: [CMake] DLL handling under CMake

2017-04-28 Thread Nils Gladitz
On 04/27/2017 10:43 AM, Louis-Paul CORDIER wrote: I added my current code for handling Qt library in my project at the end of this email. (I put a huge part of it if someone want to reuse it). You will notice that this code is handling the case where you are debugging using Visual Studio, to

[Cmake-commits] CMake branch, master, updated. v3.8.0-1006-ge3858dd

2017-04-28 Thread Kitware Robot
_VERSION_MINOR 8) -set(CMake_VERSION_PATCH 20170428) +set(CMake_VERSION_PATCH 20170429) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/

Re: [cmake-developers] Patch: Don't emit warning when config file not found

2017-04-28 Thread Christoph Grüninger
Hi Brad, great idea! Your suggestion will make everybody happy. I attached two patches implementing it. Bye ChristophFrom 0df376954173184ca78becf3ab1888e6f718af8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= Date: Fri, 28 Apr 2017 08:19:20 +0200

[Cmake-commits] CMake branch, master, updated. v3.8.0-1002-g2911d47

2017-04-28 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 2911d4701675d17b817f8fbe607bb5a493cacf0c (commit) via

[Cmake-commits] CMake branch, master, updated. v3.8.0-1005-gd828d0e

2017-04-28 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 d828d0eb084cf094119d2b47dae0053267aba138 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.8.0-994-g34a083a

2017-04-28 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 34a083a1951306aa9d0c0a5f14ac17706f475546 (commit) via