Re: [CMake] Evaluate generator expressions with install interface

2017-05-31 Thread paul via CMake
So if I do something like this: function(auto_pkgconfig TARGET) get_target_property(INCLUDE_DIRS ${TARGET} INTERFACE_INCLUDE_DIRECTORIES) string(REPLACE "$" "${CMAKE_INSTALL_PREFIX}" INCLUDE_DIRS "${INCLUDE_DIRS}") file(GENERATE OUTPUT ${TARGET}.pc CONTENT " Name: ${TARGET} Cflags:

Re: [CMake] Mixed Tool Chains Within A Single Build Environment (Windows Universal)

2017-05-31 Thread 刘松
One possible way is using “include toolchain_xxx.cmake" instead of using CMAKE_TOOLCHAIN_FILE, which is allowed a single toolchain in project. And there the toolchain_xxx.cmake is setting up the compiler to be included in your sub cmake project. 发自我的 iPhone 在 2017年6月1日,00:36,Kawicki, Ryan H m

[CMake] [ANNOUNCE] CMake 3.8.2 available for download

2017-05-31 Thread Robert Maynard
We are pleased to announce that CMake 3.8.2 is now available for download. Please use the latest release from our download page: https://cmake.org/download/ Thanks for your support! - Changes in 3.8.2 since 3.8.1: Aleksey

[CMake] Mixed Tool Chains Within A Single Build Environment (Windows Universal)

2017-05-31 Thread Kawicki, Ryan H
I am curious to know if it is possible to have a mixed tool chain environment within a single Visual Studio IDE. I am playing around with changing up the frontend of an application to use the Window Universal Binary and XAML but many of the support libraries will not be converted to the univers