[Cmake-commits] CMake branch, next, updated. v3.3.0-rc4-1149-gf6b7682

2015-07-19 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 f6b76828f4f8e405d903a6d3491b1b3b84011b82 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.3.0-rc4-1151-g82e1694

2015-07-19 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 82e1694f385e55596a746d4c9d8ad06917154d51 (commit) via

[CMake] How to find a specific version of a library?

2015-07-19 Thread Yaron Cohen-Tal
Hi, For example, I currently have both versions 2 and 3 of the GLFW library installed on my Linux computer, named libglfw.so.2 and libglfw.so.3. Is it possible to tell CMake to find a specific version of GLFW (say, version 3), and it would be smart enough to look for libglfw.so.3 or

Re: [CMake] How to find a specific version of a library?

2015-07-19 Thread Nils Gladitz
On 19.07.2015 08:38, Yaron Cohen-Tal wrote: Hi, For example, I currently have both versions 2 and 3 of the GLFW library installed on my Linux computer, named libglfw.so.2 and libglfw.so.3. Is it possible to tell CMake to find a specific version of GLFW (say, version 3), and it would be smart

[Cmake-commits] CMake branch, next, updated. v3.3.0-rc4-1165-ge69ff1e

2015-07-19 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 e69ff1eaae0fed54aeb9af6c8b46e23139ccb207 (commit) via

Re: [CMake] How to find a specific version of a library?

2015-07-19 Thread Yaron Cohen-Tal
Ok, I get it. But I still don't understand (and this has nothing to do with CMake) why is it so that By convention only one version within that prefix may be available for development at a time. If I want to develop one project that uses GLFW 2 and one project that uses GLFW 3, I need to have both

Re: [CMake] How to find a specific version of a library?

2015-07-19 Thread Nils Gladitz
On 19.07.2015 14:02, Yaron Cohen-Tal wrote: Ok, I get it. But I still don't understand (and this has nothing to do with CMake) why is it so that By convention only one version within that prefix may be available for development at a time. If I want to develop one project that uses GLFW 2 and

[Cmake-commits] CMake branch, next, updated. v3.3.0-rc4-1167-g209bd41

2015-07-19 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 209bd4163bcaa2709fe7d5127f8060bcd95f734e (commit) via

[Cmake-commits] CMake branch, next, updated. v3.3.0-rc4-1169-gd5f65f1

2015-07-19 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 d5f65f1307f3d4e67d31f333cf34a97588cfe033 (commit) via

[cmake-developers] Patch for FindBZip2.cmake BZIP2_NEED_PREFIX issue with cross compiled mingw32 applications

2015-07-19 Thread Ralf Habacker
Hi, the appended patch fixes an issue I have with recent cmake (3.2.3) with cross compiling an mingw32 application. The applications requires bzip2 library which is handled by cmake provided FindBZip2.cmake. The problem is that BZIP2_NEED_PREFIX is not set where it should be and results into

[CMake] Possible to dynamically construct macro/function names to invoke?

2015-07-19 Thread Eric Wing
I would like to dynamically construct a macro or function name to invoke. I basically have a core CMake system I want users to be able to extend/plug stuff into without knowing about a lot of the core CMake implementation. Callback functions would be an easy way for me to accomplish this. As an

[CMake] How to assign a boolean expression to a variable?

2015-07-19 Thread Yaron Cohen-Tal
I want to set FOO to TRUE iff both COND_A and COND_B are true.I tried the following: set (FOO (${COND_A} AND ${COND_B})) but then FOO get's a value like (;TRUE;AND;TRUE;) instead of TRUE. So I had to write instead: if (${COND_A} AND ${COND_B}) set (FOO TRUE) else () set (FOO FALSE)

Re: [cmake-developers] Patch for FindBZip2.cmake BZIP2_NEED_PREFIX issue with cross compiled mingw32 applications

2015-07-19 Thread Ralf Habacker
Am 19.07.2015 um 21:07 schrieb Ralf Habacker: with does match s/does/does not/ -- 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 community. For more information on

[Cmake-commits] CMake branch, next, updated. v3.3.0-rc4-1172-g257f7e5

2015-07-19 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 257f7e5e675e7d0f04ec789dbb23a9c4985088ce (commit) via

Re: [CMake] How to assign a boolean expression to a variable?

2015-07-19 Thread Nils Gladitz
On 19.07.2015 16:39, Yaron Cohen-Tal wrote: I want to set FOO to TRUE iff both COND_A and COND_B are true.I tried the following: set (FOO (${COND_A} AND ${COND_B})) The AND operator is handled and implemented by the if() and while() commands and hence not available elsewhere. but then

[Cmake-commits] CMake branch, master, updated. v3.3.0-rc4-476-g04b45ac

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

[cmake-developers] Build OS X packages with CPack from Ubuntu

2015-07-19 Thread David Zemon
Hello, I'd like to build OS X packages for my project. Is that possible with CPack? My project doesn't actually have any native binaries - it's for embedded systems - so I don't need to cross-compile or anything. The installation is very simple and, on Linux, looks like this: *