Re: [CMake] Building a Mac OS X framework

2014-03-13 Thread Eric Wing
On 3/10/14, neoagge...@gmail.com neoagge...@gmail.com wrote: Hi, Is there any *recent* guide that describes how to build a Mac OS X framework using CMake. All I could find in Google was a 2009 discussion in this list and a largely outdated (i think) page in the cmake wiki. I currently

[CMake] Index CMake strings

2014-03-13 Thread Micha Renner
Hallo, is it possible to index CMake strings. In C it would something like this: char c = Str[3]; Micha -- 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

Re: [CMake] Index CMake strings

2014-03-13 Thread Petr Kmoch
Hi Micha, the CMake equivalent code would be: string(SUBSTRING ${Str} 3 1 c) Petr On Thu, Mar 13, 2014 at 10:27 AM, Micha Renner micha.ren...@t-online.dewrote: Hallo, is it possible to index CMake strings. In C it would something like this: char c = Str[3]; Micha -- Powered by

[CMake] Fortran_FORMAT

2014-03-13 Thread Jack Stalnaker
Can someone provide an example of Fortran_FORMAT in use? I cannot find anything other than a definition of the property online. Does one use set_target_properties(tgt PROPERTIES Fortran_FORMAT FREE) ? That doesn't seem to alter the compiler flags. -- Powered by www.kitware.com Please keep

Re: [CMake] Fortran_FORMAT

2014-03-13 Thread Nils Gladitz
On 13.03.2014 17:40, Jack Stalnaker wrote: Can someone provide an example of Fortran_FORMAT in use? I cannot find anything other than a definition of the property online. Does one use I am not much of a Fortran person but: cmake_minimum_required(VERSION 2.8.12) project(Foo Fortran)

[CMake] Linking with boost

2014-03-13 Thread Lloyd
Hi, Our project uses boost on Windows. Except thread library, all other library need to be linked statically. To achieve this, what I did is this ADD_DEFINITIONS(-D BOOST_THREAD_DYN_DLL) set(Boost_USE_STATIC_LIBSON) set(Boost_USE_MULTITHREADED ON) find_package( Boost COMPONENTS

[cmake-developers] [PATCH] Wrap ARGV1 and ARGV2 in quotes to avoid errors when they are empty

2014-03-13 Thread Aurélien Gâteau
When find_dependency is called like this: find_dependency(Foo ) CMake fails with: CMake Error at /home/aurelien/opt/kf5/share/cmake-3.0/Modules/CMakeFindDependencyMacro.cmake:34 (if): if given arguments: STREQUAL EXACT Unknown arguments specified Attached patch fixes this.

Re: [cmake-developers] [PATCH] Wrap ARGV1 and ARGV2 in quotes to avoid errors when they are empty

2014-03-13 Thread Aurélien Gâteau
Aurélien Gâteau wrote: Stephen Kelly wrote: Aurélien Gâteau wrote: Wrap ARGV1 and ARGV2 in quotes to avoid errors when they are empty The user code has an error and your patch silently hides it. How is that an improvement? Thank you for your kind words. Here is an updated

Re: [cmake-developers] [PATCH] Wrap ARGV1 and ARGV2 in quotes to avoid errors when they are empty

2014-03-13 Thread Stephen Kelly
Aurélien Gâteau wrote: Here is an updated patch. Hi, Without your patch with this code: find_dependency(Foo ) I get: CMake Error at .*/Modules/CMakeFindDependencyMacro.cmake:34 (if): if given arguments: STREQUAL EXACT Unknown arguments specified Call Stack (most recent call

Re: [cmake-developers] [PATCH] Wrap ARGV1 and ARGV2 in quotes to avoid errors when they are empty

2014-03-13 Thread Aurélien Gâteau
Stephen Kelly wrote: Aurélien Gâteau wrote: Here is an updated patch. Hi, Without your patch with this code: find_dependency(Foo ) I get: CMake Error at .*/Modules/CMakeFindDependencyMacro.cmake:34 (if): if given arguments: STREQUAL EXACT Unknown arguments

Re: [cmake-developers] [Review request] Topic FindPkgConfig_Extend-PKG_CONFIG_PATH

2014-03-13 Thread Daniele E. Domenichelli
On 11/03/14 14:51, Brad King wrote: Please add test cases for the FindPkgConfig interface and argument parsing errors. The test can just fake the location of pkg-config with a dummy if necessary. I added some unit test. I'm not done yet, but I would like to see if it works on all the

Re: [cmake-developers] [Review request] Topic FindPkgConfig_Extend-PKG_CONFIG_PATH

2014-03-13 Thread Brad King
On 03/13/2014 02:54 PM, Daniele E. Domenichelli wrote: I added some unit test. I'm not done yet, but I would like to see if it works on all the architectures... Can I merge it to next to check the results on the dashboard? I will obviously take care to fix the errors tomorrow... Yes. It

Re: [cmake-developers] [PATCH] Wrap ARGV1 and ARGV2 in quotes to avoid errors when they are empty

2014-03-13 Thread Brad King
On 03/13/2014 08:20 AM, Aurélien Gâteau wrote: Actually previous patch was still wrong, since some versions may evaluate to 0. Testing with STREQUAL is safer I think. Applied, thanks: find_dependency: Give more helpful message if VERSION is empty

Re: [cmake-developers] patch to enable various compressions for debian cpack

2014-03-13 Thread Brad King
On 03/10/2014 01:37 AM, Sean D'Epagnier wrote: I have a project that needs the xz format for compression of the generated deb package as it greatly reduces the filesize. This works for me with success. Very nice, thanks. Applied here with minor tweaks: CPackDeb: Add option to set

[cmake-developers] [PATCH] Correct platform related variables for Open Watcom compilers

2014-03-13 Thread Jiri Malak
Hi, I enclosed patch to fix COMPILER_VERSION variable value for Open Watcom compilers to be real version, not internal number. It fix also value for PLATFORM_ID and ARCHITECTURE_ID variables for Open Watcom compilers. Regards JiriFrom f9cd8c3af343595e979827622d9c6a1a49912c47 Mon Sep 17

[Cmake-commits] CMake branch, next, updated. v3.0.0-rc1-938-g30c878a

2014-03-13 Thread Stephen Kelly
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 30c878a46f6d34551f2545faf59324e68364e249 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.0.0-rc1-954-g672709e

2014-03-13 Thread Stephen Kelly
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 672709e6052f051cd677f7c5c527b41d5bdb618d (commit) via

[Cmake-commits] CMake branch, next, updated. v3.0.0-rc1-957-g14830b3

2014-03-13 Thread Stephen Kelly
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 14830b39d5042619927b1476aabf9c2a9c091907 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.0.0-rc1-961-g53c2115

2014-03-13 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 53c2115be56c1acc0e6bb5f4d4b25449ae71efe5 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.0.0-rc1-963-g28fe80f

2014-03-13 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 28fe80f5c620c4e272bb55debebcedc188796f03 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.0.0-rc1-286-ge1a671c

2014-03-13 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 e1a671c7d821e3e240fc2eaf60b0572c8aed31e6 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.0.0-rc1-288-g5ef2bb4

2014-03-13 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 5ef2bb4b86c16fc5d5e2a2b4de1b647c9007f8bf (commit) via

[Cmake-commits] CMake branch, master, updated. v3.0.0-rc1-292-g7477f01

2014-03-13 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 7477f01ebd75e0886c50af5834262392b1649a21 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.0.0-rc1-967-gafe78f6

2014-03-13 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 afe78f6324a0e179b5f3ad09751773c5a29bbee4 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.0.0-rc1-294-g82a7d54

2014-03-13 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 82a7d54cfe75c399b66c888acfcb5ddb15af547b (commit) via

[Cmake-commits] CMake branch, next, updated. v3.0.0-rc1-972-g96d9f18

2014-03-13 Thread Stephen Kelly
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 96d9f18a4ecda60feb212508eb37b289740c10d0 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.0.0-rc1-991-ge880369

2014-03-13 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 e8803698fd37ad214347df5939c267548d77eb07 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.0.0-rc1-993-g216fb9d

2014-03-13 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 216fb9d9d1835cfb658686ddbe7bface46f7639a (commit) via

[Cmake-commits] CMake branch, next, updated. v3.0.0-rc1-995-g8e9638f

2014-03-13 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 8e9638fb9829dd4239e6dde59c94ad03c21283e9 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.0.0-rc1-1000-g8adfd13

2014-03-13 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 8adfd132d97ba3e1f956fe4010777e2dee0320f5 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.0.0-rc1-1002-ge58ca21

2014-03-13 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 e58ca2139b9b6c922bdac72e3c7e0d44e2623d7c (commit) via

[Cmake-commits] CMake branch, next, updated. v3.0.0-rc1-1004-gfb049c8

2014-03-13 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 fb049c818beeb339cf01c796449c3837021dfca0 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.0.0-rc1-1006-g35e7c94

2014-03-13 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 35e7c9497a522f699b4f3145eeb611ec4d028bd8 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.0.0-rc1-295-g9a026b9

2014-03-13 Thread Kitware Robot
20140313) +set(CMake_VERSION_PATCH 20140314) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- CMake

[Cmake-commits] CMake branch, next, updated. v3.0.0-rc1-1010-g47344e2

2014-03-13 Thread Clinton Stimpson
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 47344e2137ab8b5059ed017baf3dbdbcad95a5a0 (commit) via