[cmake-developers] [CMake 0015709]: variables defined state is not reset after using it for iteration in foreach

2015-08-24 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=15709 == Reported By:Jan Christoph Uhde Assigned To:

[cmake-developers] [CMake 0015710]: Does not find JNI on x32

2015-08-24 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=15710 == Reported By:Felix Geyer Assigned To:

Re: [cmake-developers] FindBZip2.cmake

2015-08-24 Thread Brad King
On 08/23/2015 07:36 AM, Rolf Eike Beer wrote: you introduced in 7c912af2 that this module not only looks into the Windows registry, but also added PATH_SUFFIXES include and lib for find_* calls. Wouldn't CMake automatically append those to all paths given? No. The suffixes are only added

Re: [cmake-developers] cmake's built-in support for android using nvidia nsight tegra

2015-08-24 Thread Brad King
On 08/23/2015 04:44 PM, Peter List wrote: How do I tell cmake to include Ant Build in my vcxproj, so that it will package my project into an APK? I can generate vcxproj that builds a Tegra-Android *.so file, but it does not build me an APK, and my vcxproj is missing the Ant Build property

Re: [cmake-developers] Replace deprecated libarchive functions

2015-08-24 Thread Brad King
On 08/22/2015 12:32 PM, Páder Rezső wrote: cmake requires libarchive3, but uses old, deprecated libarchive functions. The attached patch solves this. Thanks, applied: Use modern libarchive APIs http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e7f93715 -Brad -- Powered by

Re: [cmake-developers] PATCH: Add Certificate Thumbprint to VS for Windows Phone and Windows Store projects

2015-08-24 Thread Brad King
On 08/21/2015 06:04 PM, Gilles Khouzam wrote: I would like to submit a new patch to write the PackageCertificateThumbprint tag in VS projects Applied with minor tweaks and merged to 'next' for testing: VS: Windows Store/Phone package cert thumbprint

Re: [cmake-developers] FindZLIB module should find debug and, release variants

2015-08-24 Thread Brad King
On 08/23/2015 04:41 PM, Michael Scott wrote: Okay no problem, I've changed the patch to use SelectLibraryConfigurations instead. I've also changed the last bit of the patch, to set the IMPORTED_CONFIGURATIONS target property as well when there's debug and release variants, to be consistent

Re: [cmake-developers] cmState-definitions topic

2015-08-24 Thread Stephen Kelly
Brad King wrote: Steve, I've merged most of this topic: Merge topic 'cmState-definitions' http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2370a994 Great, thanks! I think the last two commits on it: cmLinkedTree: Add API for size query and reserve.

[cmake-developers] cmState-definitions topic

2015-08-24 Thread Brad King
Steve, I've merged most of this topic: Merge topic 'cmState-definitions' http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2370a994 I think the last two commits on it: cmLinkedTree: Add API for size query and reserve. http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d7fc7c3a cmState:

Re: [cmake-developers] [CMake 0015669]: XCTest for iOS target has incorrect TEST_HOST

2015-08-24 Thread Gregor Jasny via cmake-developers
Hi Brad, On 21/08/15 15:36, Brad King wrote: Thanks. I merged to 'next' for testing last night. Please take a look at the failures: https://open.cdash.org/testSummary.php?project=1name=RunCMake.XcodeProjectdate=2015-08-21 It's all green now:

[cmake-developers] Xcode 7 tbd library stub support

2015-08-24 Thread Gregor Jasny via cmake-developers
Hello, Starting with Xcode 7 the OSX and iOS SDKs contain only stub files for dynamic system libraries. These stub files contain some meta data and a list of exported sysbols in plain text. They are handled by the toolchain like regular dylibs. I just pushed a topic branch to add support for

[cmake-developers] Default compile options

2015-08-24 Thread Robert Goulet
In our root CMakeLists.txt file we do this: set(CMAKE_C_FLAGS) set(CMAKE_CXX_FLAGS) set(CMAKE_C_FLAGS_DEBUG -D_DEBUG) set(CMAKE_CXX_FLAGS_DEBUG -D_DEBUG) set(CMAKE_C_FLAGS_RELEASE -DNDEBUG) set(CMAKE_CXX_FLAGS_RELEASE -DNDEBUG) This is to reset the build flags for all platforms, but it doesn't

Re: [cmake-developers] cmake's built-in support for android using nvidia nsight tegra

2015-08-24 Thread Peter List
Per Brad's suggestion, I removed this line from my CMakeLists.txt: add_library(${PROJECT_NAME} SHARED ${SRC_LIST}) And I added these lines: set(CMAKE_ANDROID_GUI TRUE) set(CMAKE_ANDROID_API 19) # Kindle Fire HD 6 set(CMAKE_ANDROID_API_MIN 19) # Kindle Fire HD 6 add_executable(${PROJECT_NAME}

Re: [cmake-developers] FindBZip2.cmake

2015-08-24 Thread Rolf Eike Beer
Brad King wrote: On 08/23/2015 07:36 AM, Rolf Eike Beer wrote: Another thing which I found is that there seems to be an obscure problem in FindBZip2.cmake to not find the library on Windows if the path contains backslashes. Yes, really. Just compare the cmake part of these 2 links (no

Re: [cmake-developers] cmake's built-in support for android using nvidia nsight tegra

2015-08-24 Thread Peter List
I'm now attempting to build a simple SDL2 Android application with CMake's built-in Android support (uses nvidia tegra nsight for visual studio 2010) SDL2-2.0.3 does not appear to have a NativeActivity example so I'm attempting to use its android-project folder that includes