Re: [CMake] CMAKE_OSX_DEPLOYMENT_TARGET vs CMAKE_OSX_SYSROOT

2016-09-23 Thread Gregor Jasny via CMake
On 21/09/2016 10:54, James Turner wrote: > >> On 20 Sep 2016, at 16:00, Braden McDaniel wrote: >> >> When setting CMAKE_OSX_SYSROOT to the unversioned directory name (using >> Xcode 8, as it happens) and setting CMAKE_OSX_DEPLOYMENT_TARGET, I get this >> error: >> >> >> -- The CXX compiler iden

[CMake] set the compiler

2016-09-23 Thread Lev
Hello all, I know it is not recommended, but I try to do something like this: if (${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Linux") set (CMAKE_C_COMPILER "gcc") elseif (${CMAKE_HOST_SYSTEM_NAME} STREQUAL "FreeBSD") set (CMAKE_C_COMPILER "clang37") endif () cmake complains, that gcc is n

[CMake] cross platform build with external dependencies

2016-09-23 Thread Tom Gwozdz
Hello! I'm working on a relatively large game engine project which consists of several libraries and a few executables. The project is supposed to be cross platform, so should be buildable on OSX with XCode, Windows with Visual Studio and for the web using the Emscripten cross-compiler. The proj

[CMake] Build single file with Cmake in Qtcreator

2016-09-23 Thread vakano
Hi, All, I know Qt Creator support to build single file from Menu "Build" -> “Build File”, or right click one source file in project tree to build single file, but when I load a Cmake Project, Menu “Build File” and “right click” are both disappeared. Does it mean build single file functionality

Re: [CMake] Browse buttons in CMake-Gui give URL cannot be listed Malformed URL error (Manjaro KDE Plasma 5.7 Qt 5.7)

2016-09-23 Thread Amit Singh via CMake
Hi Clint.Thank you for the prompt response. I want to confirm that your change fixes the problem. Regards, Amit On Thursday, 22 September 2016 12:22 PM, "clin...@elemtech.com" wrote: - On Sep 20, 2016, at 4:18 PM, cmake wrote: Hi.When I click "Browse source" or "Browse build" lo

Re: [CMake] [cmake-developers] CPack [NSIS] Install directory per component

2016-09-23 Thread Roman Wüger
Hello,I've attached a patch with which it is now possible to set custom install directories per component. 0001-CPack-NSIS-custom-component-install-directory.patch Description: Binary data Best RegardsRomanAm 21.09.2016 um 23:04 schrieb Roman Wüger :Hello,Per default the insta