[cmake-developers] [CMake 0014075]: CMAKE_CROSSCOMPILING miss-typed as CMAKE_CROSS_COMPILING in FindOpenSSL.cmake

2013-04-12 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=14075 == Reported By:Robin Lee Assigned To:

Re: [cmake-developers] Building with Qt for the Raspberry Pi with CMake

2013-04-12 Thread Stephen Kelly
Stephen Kelly wrote: However, the Raspberry Pi has libz.so in some funny locations: stephen@hal:~/rpi/rasp-pi-rootfs$ find -name *libz* ./lib/arm-linux-gnueabihf/libz.so.1 ./lib/arm-linux-gnueabihf/libz.so.1.2.7 ./usr/lib/arm-linux-gnueabihf/libz.so ./usr/lib/arm-linux-gnueabihf/libz.a

Re: [cmake-developers] Building with Qt for the Raspberry Pi with CMake

2013-04-12 Thread Stephen Kelly
Stephen Kelly wrote: This doesn't affect only Qt, but could affect any CMake user trying to use a library which depends on zlib on the Raspberry Pi. Actually I notice that I have a similar situation on my ubuntu system: /lib/x86_64-linux-gnu/libz.so.1 /lib/x86_64-linux-gnu/libz.so.1.2.7

Re: [cmake-developers] Building with Qt for the Raspberry Pi with CMake

2013-04-12 Thread Stephen Kelly
Stephen Kelly wrote: I guess it works because libz.so and libz.so.1 are both in system paths? But then why doesn't the same work on the Raspberry Pi cross compile? The CMAKE_LIBRARY_ARCHITECTURE is already determined to be arm-linux-gnueabihf there. I found out what the problem is. CMake

[cmake-developers] [CMake 0014076]: CTest - Teach -S option to download script from http or https location

2013-04-12 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=14076 == Reported By:Jean-Christophe Fillion-Robin Assigned

[cmake-developers] [CMake 0014077]: Teach RESOURCE_LOCK to use file

2013-04-12 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=14077 == Reported By:Jean-Christophe Fillion-Robin Assigned

Re: [cmake-developers] Building with Qt for the Raspberry Pi with CMake

2013-04-12 Thread Alexander Neundorf
On Friday 12 April 2013, Stephen Kelly wrote: Stephen Kelly wrote: I guess it works because libz.so and libz.so.1 are both in system paths? But then why doesn't the same work on the Raspberry Pi cross compile? The CMAKE_LIBRARY_ARCHITECTURE is already determined to be arm-linux-gnueabihf

[cmake-developers] [CMake 0014078]: FindCUDA -D${cuda_target}_EXPORTS generates invalid identifier

2013-04-12 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=14078 == Reported By:szotsaki Assigned To:

[CMake] TARGET_LINK_LIBRARIES got a link error

2013-04-12 Thread Lloyd
Hi, I am new to Cmake and at present exploring its features for migrating our projects build system to use it. I have main source folder inside that another folder contains the source for our custom library. I understand that the problem is with my cmake file. Through that the generated project

Re: [CMake] TARGET_LINK_LIBRARIES got a link error

2013-04-12 Thread Rolf Eike Beer
Lloyd wrote: Hi, I am new to Cmake and at present exploring its features for migrating our projects build system to use it. I have main source folder inside that another folder contains the source for our custom library. I understand that the problem is with my cmake file. Through that

Re: [CMake] TARGET_LINK_LIBRARIES got a link error

2013-04-12 Thread Lloyd
On Fri, Apr 12, 2013 at 11:58 AM, Rolf Eike Beer e...@sf-mail.de wrote: Lloyd wrote: Hi, I am new to Cmake and at present exploring its features for migrating our projects build system to use it. I have main source folder inside that another folder contains the source for our

Re: [CMake] TARGET_LINK_LIBRARIES got a link error

2013-04-12 Thread Jean-Christophe Fillion-Robin
Hi Lloyd, Seems you have a small typo, target name case should be consistent. Try to use: TARGET_LINK_LIBRARIES(Tutorial Reverse) instead of TARGET_LINK_LIBRARIES(Tutorial reverse) Hth Jc On Fri, Apr 12, 2013 at 2:48 AM, Lloyd lloydkl.t...@gmail.com wrote: On Fri, Apr 12, 2013

Re: [CMake] CPack Generator for the Mac App Store

2013-04-12 Thread Eric Noulard
2013/4/12 Brian Milco bcmi...@gmail.com Hi, I've added a CPack package generator for the Mac App Store for your consideration. You can find it on github: https://github.com/iPenguin/cmake/tree/cpack-mac-app-store-generator This is a first draft, but it should work to get a basic

Re: [CMake] TARGET_LINK_LIBRARIES got a link error

2013-04-12 Thread Lloyd
Thanks Jc and Eike, it solved my problem On Fri, Apr 12, 2013 at 12:31 PM, Jean-Christophe Fillion-Robin jchris.filli...@kitware.com wrote: Hi Lloyd, Seems you have a small typo, target name case should be consistent. Try to use: TARGET_LINK_LIBRARIES(Tutorial Reverse) instead of

[CMake] Error in running tests

2013-04-12 Thread Lloyd
Hi, I was successful in creating and compiling a simple project C++/Visual studio using cmake. I have also included one unit test project. All these projects builds successfully. The test project source and main project source resides in the root directory of the project. When I try to run

Re: [CMake] Error in running tests

2013-04-12 Thread Petr Kmoch
Hi Lloyd. Do you actually have a target (executable) named test_rev? And have you built it before running RUN_TESTS? RUN_TEST (or its Makefile equivalent 'make test') doesn't automatically build the test executables before running them. Petr On Fri, Apr 12, 2013 at 1:08 PM, Lloyd

Re: [CMake] Error in running tests

2013-04-12 Thread Lloyd
Yes I built the test and it is in E:\CMakeDemo\BuildDir\tests\Debug\test_rev.exe I don't know the right way to locate this test executable for cmake Thanks, Lloyd On Fri, Apr 12, 2013 at 4:42 PM, Petr Kmoch petr.km...@gmail.com wrote: Hi Lloyd. Do you actually have a target (executable)

Re: [CMake] Error in running tests

2013-04-12 Thread Petr Kmoch
1. Can you post tests/CMakeLists.txt (or at least the parts relevant to creating test_rev)? 2. Does it work if you use the enhanced signature of add_test? I mean 'add_test(NAME Test COMMAND test_rev)' Petr On Fri, Apr 12, 2013 at 1:18 PM, Lloyd lloydkl.t...@gmail.com wrote: Yes I built the

Re: [CMake] Error in running tests

2013-04-12 Thread Lloyd
of course... This is the source of my test cmake file #Cmake file of Tests cmake_minimum_required (VERSION 2.6) SET(TST_SRC test_rev.cpp test_runner.cpp) FIND_PACKAGE(Boost REQUIRED COMPONENTS unit_test_framework) INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})

[CMake] build type problem

2013-04-12 Thread liulewes
I'm using cmake to build my own project under centOS 6. During configuration, cmake asked me to choose the type of build; however, whatever I typed in for CMAKE_BUILD_TYPE, it won't let me proceed. Anyone can give a hint? I using cmake 2.8.10.2 compiled in centOS 6. Thanks. Best, Lewes

Re: [CMake] TARGET_LINK_LIBRARIES got a link error

2013-04-12 Thread Alexander Neundorf
On Friday 12 April 2013, Lloyd wrote: Hi, I am new to Cmake and at present exploring its features for migrating our projects build system to use it. I have main source folder inside that another folder contains the source for our custom library. I understand that the problem is with my

Re: [CMake] build type problem

2013-04-12 Thread J Decker
I find addig this line helps. set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS ${CMAKE_CONFIGURATION_TYPES} debug release RelWithDebInfo MinSizeRel ) which makes cmake_build_type a drop list to chose. On Fri, Apr 12, 2013 at 11:53 AM, liulewes lewes_in...@hotmail.com wrote: I'm using

Re: [CMake] CPack Generator for the Mac App Store

2013-04-12 Thread Brian Milco
Hi Eric, On Fri, Apr 12, 2013 at 12:58 AM, Eric Noulard eric.noul...@gmail.comwrote: Some ##end documentation markup where missing one '#' which makes the corresponding CPACK_APPLE_xxx var not appearing in the command line doc. The doc parser is almost dumm so that it's almost impossible to

[CMake] Rebuilding cmake itself on Windows

2013-04-12 Thread Paul Smith
Hi all; I need to rebuild cmake to incorporate a fix that has been added since the last release (I could get a nightly build but I was hoping to use released cmake with just the fix I need to reduce risk) and which is causing my builds to fail sometimes. For Linux and MacOS this was quite simple

[CMake] FindPythonLibs Bug #0013794 fix

2013-04-12 Thread Adam Wolf
Hi folks, While we're talking Python, I wrote a small patch to FindPythonLibs that looks to see if PYTHON_VERSION_MAJOR and PYTHON_VERSION_MINOR are set (by FindPythonInterp), and if so, it puts them in the python versions list, after the user specified versions, but before the Python3, Python2,

Re: [CMake] Rebuilding cmake itself on Windows

2013-04-12 Thread Jean-Christophe Fillion-Robin
Hi Paul, Set option CMAKE_INSTALL_PREFIX to a location of your choice Then, build INSTALL target Hth Jc On Fri, Apr 12, 2013 at 4:46 PM, Paul Smith p...@mad-scientist.net wrote: Hi all; I need to rebuild cmake to incorporate a fix that has been added since the last release (I could get a

Re: [CMake] CPack Generator for the Mac App Store

2013-04-12 Thread clinton
Bringing this thread back to the cmake list... - Original Message - Hi Clint, On Fri, Apr 12, 2013 at 9:28 AM, Clinton Stimpson clin...@elemtech.com wrote: Ok, I now see what is special about it. It uses productbuild to generates a .pkg (which is then put inside a .dmg),

Re: [CMake] Rebuilding cmake itself on Windows

2013-04-12 Thread Paul Smith
On Fri, 2013-04-12 at 17:04 -0400, Jean-Christophe Fillion-Robin wrote: Hi Paul, Set option CMAKE_INSTALL_PREFIX to a location of your choice Then, build INSTALL target Hi; thanks a lot for your answer! I was able to set CMAKE_INSTALL_PREFIX; thanks for that. Can you give a specific

Re: [CMake] Rebuilding cmake itself on Windows

2013-04-12 Thread Jean-Christophe Fillion-Robin
Hi, Since the syntax can change between version of Visual Studio, you could try to use cmake directly: cd C:\path\to\project-build cmake.exe --build . --target INSTALL --config Release See http://www.cmake.org/cmake/help/v2.8.10/cmake.html#opt:--builddir Alternatively, you could also

Re: [CMake] Rebuilding cmake itself on Windows

2013-04-12 Thread Michael Jackson
I usually use: msbuild /p:Configuration=Release INSTALL.vxproj Which seems to work on VS 2010 SP1 ___ Mike JacksonPrincipal Software Engineer BlueQuartz SoftwareDayton, Ohio

Re: [CMake] Rebuilding cmake itself on Windows

2013-04-12 Thread Paul Smith
On Fri, 2013-04-12 at 18:07 -0400, Jean-Christophe Fillion-Robin wrote: Since the syntax can change between version of Visual Studio, you could try to use cmake directly: cd C:\path\to\project-build cmake.exe --build . --target INSTALL --config Release That worked perfectly; I wasn't

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-2756-g1d8f9ac

2013-04-12 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 1d8f9ac00645e026c1168ee814fb83d56885cea2 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.10.2-987-gedd90f9

2013-04-12 Thread Kitware Robot
Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index 5057466..ff88cd7 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -2,5 +2,5 @@ set(CMake_VERSION_MAJOR 2) set(CMake_VERSION_MINOR 8) set(CMake_VERSION_PATCH 10) -set(CMake_VERSION_TWEAK 20130412