Re: [CMake] cmake install

2017-09-12 Thread Adam Getchell
Thanks for the catch, sudo cmake --build . --target install &> install.log worked. Yes, I plan to use a package manager like Conan or conda rather than the horrible tangle of scripts I have now for Travis and Appveyor, just have a few other things to do first. ;-) -- Adam Getchell https://key

Re: [CMake] debugging CMAKE_PREFIX_PATH

2017-09-12 Thread Patrick Welche
On Tue, Sep 12, 2017 at 11:52:00PM +0100, Patrick Welche wrote: > Problematic (scribus) CMakeLists.txt: > > set(CMAKE_PREFIX_PATH "${QT_PREFIX}/lib/cmake") > set(CMAKE_INCLUDE_CURRENT_DIR ON) > find_package(Qt5Core ${QT_MIN_VERSION} REQUIRED) > > On Tue, Sep 12, 2017 at 04:37:08PM +0300, Ko

Re: [CMake] debugging CMAKE_PREFIX_PATH

2017-09-12 Thread Patrick Welche
Problematic (scribus) CMakeLists.txt: set(CMAKE_PREFIX_PATH "${QT_PREFIX}/lib/cmake") set(CMAKE_INCLUDE_CURRENT_DIR ON) find_package(Qt5Core ${QT_MIN_VERSION} REQUIRED) On Tue, Sep 12, 2017 at 04:37:08PM +0300, Konstantin Tokarev wrote: > What actually happens here: rogue CMake project over

Re: [CMake] project() with ASM fails with MSVC 19

2017-09-12 Thread Robert Dailey
Also, I am using the "Visual Studio 15 2017" generator with no other options (generating through cmake-gui on Windows) On Tue, Sep 12, 2017 at 1:33 PM, Robert Dailey wrote: > Using CMake 3.9, I do this: > > cmake_minimum_required(VERSION 3.9) > project(libpng VERSION 1.6.33 LANGUAGES ASM C) > > I

[CMake] project() with ASM fails with MSVC 19

2017-09-12 Thread Robert Dailey
Using CMake 3.9, I do this: cmake_minimum_required(VERSION 3.9) project(libpng VERSION 1.6.33 LANGUAGES ASM C) I get the following error: -- The ASM compiler identification is unknown -- Didn't find assembler -- The C compiler identification is MSVC 19.11.25507.1 CMake Error at CMakeLists.txt:16

Re: [CMake] Adding compile and build type tests to CMake/CTest

2017-09-12 Thread Robert Ramey
On 9/4/17 6:40 AM, Edward Diener wrote: Boost Build has tests for running an application successfully or not, for compiling one or more source files successfully or not, and for building one or more source files into an exe or not. These tests in Boost Build are the run/run-fail, compile/compil

Re: [CMake] [Windows] clang-cl.exe detected as MSVC?

2017-09-12 Thread Mateusz Loskot
On 12 September 2017 at 14:53, Konstantin Tokarev wrote: > 11.09.2017, 18:12, "Mateusz Loskot" : >> On 11 September 2017 at 17:04, Konstantin Tokarev wrote: >>> 11.09.2017, 17:59, "Mateusz Loskot" : I'm building a project with CMake 3.9 using clang-cl.exe driver [1] from LLVM/cl

Re: [CMake] Create Mac OS Bundle with VTK and Qt

2017-09-12 Thread Romain LEGUAY
Hello, Sorry for this late answer! After using DeployQt5.cmake script I succeed to resolve my problem. The icon problem was due to some mistake during the creation of my icns file. Thanks again. Romain > Le 8 sept. 2017 à 21:42, Oleksii Vilchanskyi via CMake a > écrit : > > Hello, > >> 1

Re: [CMake] Clang for Windows with CMake and Ninja (and Visual Studio)

2017-09-12 Thread Nagy-Egri Máté Ferenc via CMake
The link error is some error on my setup. The /nologo et al part still stands though. Can CMake invoke the Windows binary of Clang correctly? Feladó: Nagy-Egri Máté Ferenc via CMake Elküldve: 2017. szeptember 12., kedd 15:01 Címzett: Cmake Mailing List Tárgy: [CMake] Clang for Windows with CMake

Re: [CMake] debugging CMAKE_PREFIX_PATH

2017-09-12 Thread Konstantin Tokarev
12.09.2017, 16:31, "Zakrzewski, Jakub" : > Hi, > >>  find_package(Qt5Core ${QT_MIN_VERSION} REQUIRED) > >>  I build with -DCMAKE_PREFIX_PATH set, and in CMakeCache.txt, I see: > >>  //No help, variable specified on the command line. >>  CMAKE_PREFIX_PATH:PATH=/usr/pkg/qt5 > >>  //The directory co

Re: [CMake] debugging CMAKE_PREFIX_PATH

2017-09-12 Thread Zakrzewski, Jakub
Hi, > find_package(Qt5Core ${QT_MIN_VERSION} REQUIRED) > I build with -DCMAKE_PREFIX_PATH set, and in CMakeCache.txt, I see: > //No help, variable specified on the command line. > CMAKE_PREFIX_PATH:PATH=/usr/pkg/qt5 > //The directory containing a CMake configuration file for Qt5Core. > Qt5Cor

[CMake] Clang for Windows with CMake and Ninja (and Visual Studio)

2017-09-12 Thread Nagy-Egri Máté Ferenc via CMake
Hi! I am trying to build using the Open Folder feature of VS (with CMake server mode integration) with the Windows binary release of Clang. However, when I try to build using clang++.exe, it argues about unknown compiler switches clang++.exe: error: no such file or directory: '/nologo' while i

Re: [CMake] [Windows] clang-cl.exe detected as MSVC?

2017-09-12 Thread Konstantin Tokarev
11.09.2017, 18:12, "Mateusz Loskot" : > On 11 September 2017 at 17:04, Konstantin Tokarev wrote: >>  11.09.2017, 17:59, "Mateusz Loskot" : >>>  Hi, >>> >>>  I'm building a project with CMake 3.9 using clang-cl.exe driver [1] >>>  from LLVM/clang 4.0 enabled with Visual Studio 2015 environment. >

[CMake] debugging CMAKE_PREFIX_PATH

2017-09-12 Thread Patrick Welche
I am trying to build a package which has in its CMakeLists.txt: set(CMAKE_PREFIX_PATH "${QT_PREFIX}/lib/cmake") set(CMAKE_INCLUDE_CURRENT_DIR ON) find_package(Qt5Core ${QT_MIN_VERSION} REQUIRED) (It may be that QT_PREFIX is not set?) I build with -DCMAKE_PREFIX_PATH set, and in CMakeCache.txt, I

[CMake] CTest model deviates from the requsted one

2017-09-12 Thread Matějů Miroslav , Ing .
tConfiguration:BuildName:cm Site: MiM-testsrv-ubuntu Build name: cm Use Continuous tag: 20170912-0800 -- Build model: Experimental I tried to upgrade CMake from the distribution-provided version up to 3.9.1 but the problem persists. I noticed that the problem appears after changing the model