Re: [CMake] Alternative to CMAKE_PREFIX_PATH

2016-01-18 Thread Guillaume Dumont
A better alternative would be to use the command line switch -DCMAKE_PREFIX_PATH= or similarly via CMake-GUI. Or you could also use the env var. See https://cmake.org/cmake/help/v3.3/command/find_package.html?highlight=cmake_prefix_path for search order. On Mon, Jan 18, 2016 at 9:08 AM, Nikita

Re: [CMake] Alternative to CMAKE_PREFIX_PATH

2016-01-18 Thread Thomas Richard
For our project we set QT_BINARY_DIR which finds most of the Qt5XXX ones (it is defined in the FindQt5.cmake). We however also added the non-standard QT_LIBRARY_CMAKE_DIR to search for the Qt5 when they are not installed in the default location (the default we put is

[cmake-developers] [CMake 0015924]: include_external_msproject does not specify project type

2016-01-18 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == https://cmake.org/Bug/view.php?id=15924 == Reported By:Lars Assigned To:

[CMake] Alternative to CMAKE_PREFIX_PATH

2016-01-18 Thread Nikita Barawade
Hi, My project needs Qt5 . Adding find_package (Qt5Widgets) to CMakeLists.txt could not find Qt . So I added, set (CMAKE_PREFIX_PATH "< Qt installation path>") It is working fine now. But is there any alternative to find qt5 package without hardcoding CMAKE_PREFIX_PATH ? Regards,

Re: [CMake] Changing the the current generator in CMake GUI

2016-01-18 Thread Bill Hoffman
On 1/15/2016 7:19 PM, mozzis wrote: Well, CMAKE is the thing that is conflating this idea of a “generator” (which is clearly a concept in CMAKE’s own domain of “build configuration generator”) with the idea of “platform” or “architecture” (which is a concept in the domain of certain kinds of

[cmake-developers] Access output from CheckCXXSourceRuns and CheckCSourceRuns

2016-01-18 Thread Harry Mallon
Hello, I have just submitted a pull request (https://github.com/Kitware/CMake/pull/209). This passes through the output of the run (as well as the return value) so that users can access any output without using try_run. H Harry Mallon CODEX | Software Engineer 60 Poland Street | London |

Re: [cmake-developers] Adding Swift support to CMake for Linux/Makefiles

2016-01-18 Thread Eric Wing
On 1/15/16, Brad King wrote: > On 01/15/2016 09:47 AM, Eric Wing wrote: >>> That is the same as for C++. See CMAKE_PARSE_IMPLICIT_LINK_INFO and >> >> I looked at this file, but I still havne't groked what I need to do >> with this yet. > > Somehow we need to get swift to

[cmake-developers] [CMake 0015923]: Makefile is written/updated even if there are errors in cmake.

2016-01-18 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == https://public.kitware.com/Bug/view.php?id=15923 == Reported By:Mads Brix Assigned To:

[CMake] ANN: CMake Course - March 14 in Lyon, France

2016-01-18 Thread Julien Jomier
Happy New Year! To start the new year right, Kitware will be holding a CMake training course on March 14, 2016 at Kitware's office in Lyon, France. This one-day course will cover CMake, CTest, CPack and CDash. Visit our website for more information and registration details (early

[CMake] XCode Generation Issue

2016-01-18 Thread David Morsberger
I’m having an issue generating and using a XCode project using cmake -G. cmake —version cmake version 3.4.1 Xcode Version 7.2 (7C68) Mac OS 10.11. My CMakeLists.txt has a clang option that fails during the -G Xcode pass but fails when linking within XCode. The compiler / linker option

[Cmake-commits] CMake branch, master, updated. v3.4.1-851-g5079cc1

2016-01-18 Thread Kitware Robot
_VERSION_MINOR 4) -set(CMake_VERSION_PATCH 20160118) +set(CMake_VERSION_PATCH 20160119) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/

[cmake-developers] [CMake 0015925]: Reproduce preprocessor definitions specified with target_compile_definitions() in Eclipse project file

2016-01-18 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == https://public.kitware.com/Bug/view.php?id=15925 == Reported By:Richard Lang Assigned To: