Re: [CMake] add_library ALIAS

2018-11-19 Thread Alan W. Irwin
On 2018-11-19 14:20- rmawatson rmawatson wrote: I am trying to figure out exactly what this line is for in the cmake file of the github json project here -> https://github.com/nlohmann/json/blob/develop/CMakeLists.txt#L48 add_library(${PROJECT_NAME}::${NLOHMANN_JSON_TARGET_NAME} ALIAS ${

[CMake] Java not found

2018-11-19 Thread szukw000
cmake-3.12.4 did find the correct version: -- Found Java: /usr/lib64/java/bin/java (found version "11.0.1") But the cmake Module FindJava.cmake fails with this warning: --- warning: [options] bootstrap class path not set in conjunction wit

Re: [CMake] add_library ALIAS

2018-11-19 Thread Craig Scott
On Tue, Nov 20, 2018 at 1:20 AM rmawatson rmawatson wrote: > I am trying to figure out exactly what this line is for in the cmake file > of the github json project here -> > https://github.com/nlohmann/json/blob/develop/CMakeLists.txt#L48 > > add_library(${PROJECT_NAME}::${NLOHMANN_JSON_TARGET_NA

[CMake] add_library ALIAS

2018-11-19 Thread rmawatson rmawatson
I am trying to figure out exactly what this line is for in the cmake file of the github json project here -> https://github.com/nlohmann/json/blob/develop/CMakeLists.txt#L48 add_library(${PROJECT_NAME}::${NLOHMANN_JSON_TARGET_NAME} ALIAS ${NLOHMANN_JSON_TARGET_NAME}) Specifically with this exa

Re: [CMake] NVIDIA Nsight Tegra settings

2018-11-19 Thread Robert Bielik
Ok, found it. The value for CMAKE_ANDROID_STL_TYPE is the filename of one of the .props files under: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Platforms\Tegra-Android\PlatformToolsets\Stl" And LLVM is "llvm-libc++_shared" and "llvm-libc++_static"

[CMake] NVIDIA Nsight Tegra settings

2018-11-19 Thread Robert Bielik
Ok, learning as I go along 😃 The settings are documented here: https://cmake.org/cmake/help/v3.12/prop_tgt/ANDROID_STL_TYPE.html#prop_tgt:ANDROID_STL_TYPE which does not mention LLVM c++ library. But the NVIDIA Tegra extension for Visual Studio can handle LLVM, as it is settable in the project

Re: [CMake] Visual Studio ARM generator

2018-11-19 Thread Robert Bielik
Ok, I'm now running with the Android x-compilation stuff via NVIDIA Tegra, however, I'm at a loss how to define STL type. It need to use the LLVM c++ libs, but I find no documentation on what to set for CMAKE_ANDROID_STL_TYPE to achieve this. Help? Regards /R > -Original Message- > F

Re: [CMake] CMAKE_OSX_SYSROOT icw iOS fat binaries (iPhone + iPhoneSimulator)

2018-11-19 Thread Craig Scott
The IOS_INSTALL_COMBINED target property allows you to create fat binaries, but only at install time. To use this feature, set your CMAKE_OSX_SYSROOT to iphoneos and the simulator slice will be built and added to the fat binar

[CMake] CMAKE_OSX_SYSROOT icw iOS fat binaries (iPhone + iPhoneSimulator)

2018-11-19 Thread Erik van Nooijen
With CMake it is possible to build for fat binaries for iOS without XCode. Fat binaries meaning containing all the architectures for iPhone and iPhoneSimulator. However, when building frameworks, CMake builds it with the MacOSX layout, including 'Version' directory and symlinks etc. This is wro