Re: [CMake] PROJECT( LANGUAGES ) and m4

2017-01-08 Thread Brad Bell
Using a custom_command (not custom_target) and a looping over the output file names, I was able to get cmake to properly track the m4 output files and create them when necessary; see https://cmake.org/pipermail/cmake/2009-June/029909.html This seems to me like a good solution. On

Re: [CMake] Find Vulkan on 32 bit builds

2017-01-08 Thread Andreas Naumann
Hello, Am 08.01.2017 um 07:22 schrieb Saad Khattak: Hello, When I run "find_package(VULKAN)" in a CMakeLists for a Visual Studio 2015 32-bit project, the ${Vulkan_LIBRARY} and ${Vulkan_LIBRARIES} variables both point to the "Bin" folder for the Vulkan installation instead of the "Bin32"

Re: [CMake] target_link_libraries is using relative path of library

2017-01-08 Thread Andreas Naumann
Hello, on Linux cmake treats system directorys specially, i.e. those libraries are linked without any path. Furthermore there are environment variables, whose content is added to the set of system directories. I do not work on Windows, but your problem looks like a smiliar problem. Does some

Re: [CMake] ExternalProject_Add

2017-01-08 Thread Nicholas Braden
The way to solve this is to use a superbuild project layout - you use ExternalProject_Add to build your dependencies AND your own project, using the DEPENDS option to control build order. Thus by the time it gets around to configuring your project, the dependencies have already been built and

[CMake] ExternalProject_Add

2017-01-08 Thread Saad Khattak
Hello, I have an external project glfw that I added to my project like this: == include(ExternalProject) ExternalProject_Add(glfw GIT_REPOSITORY "https://github.com/glfw/glfw.git; GIT_TAG "master" SOURCE_DIR "${CMAKE_SOURCE_DIR}/dep/glfw" CMAKE_ARGS -DGLFW_BUILD_DOCS=OFF

Re: [CMake] ExternalProject_Add

2017-01-08 Thread Hendrik Sattler
One possibility is the often mentioned superbuild, another is not using find_library() but setting the variables with the library file paths manually (that's static info anyway). Am 8. Januar 2017 22:49:52 MEZ schrieb Saad Khattak : >Hello, > >I have an external project

[Cmake-commits] CMake branch, master, updated. v3.7.1-928-g976574b

2017-01-08 Thread Kitware Robot
_VERSION_MINOR 7) -set(CMake_VERSION_PATCH 20170108) +set(CMake_VERSION_PATCH 20170109) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/