[Cmake-commits] CMake branch, master, updated. v3.7.2-1065-gbe5b310

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

Re: [CMake] How to use a generated linker map with a shared library?

2017-01-14 Thread Paul Smith
On Sun, 2017-01-15 at 12:08 +1100, Craig Scott wrote: > While not directly answering your question, it seems you may be trying > to deal with symbol visibility. Are you aware of CMake's symbol > visibility features? A good place to start would be the > GenerateExportHeader module, the

Re: [cmake-developers] COMPILE_FEATURES, Mac and non-Apple clang versions

2017-01-14 Thread Craig Scott
On Fri, Jan 6, 2017 at 11:57 AM, Stephen Kelly wrote: > Craig Scott wrote: > > >> if you use add_subdirectory with top-level projects which don't > >> explicitly do something like that, you're getting undefined , and > >> generally unexpected behavior in many ways. > > > >

Re: [CMake] How to use a generated linker map with a shared library?

2017-01-14 Thread Craig Scott
While not directly answering your question, it seems you may be trying to deal with symbol visibility. Are you aware of CMake's symbol visibility features? A good place to start would be the GenerateExportHeader module, the documentation for which

[CMake] How to use a generated linker map with a shared library?

2017-01-14 Thread Paul Smith
I'm really stuck: maybe someone can provide a hint. I'm trying to create a shared library from a bunch of object files, and use a linker script to mark almost all the symbols as local.  The tricky thing is I'm auto-generating the linker script via a shell script that examines the object files for

Re: [CMake] Custom command on cpack target

2017-01-14 Thread Gonzalo Garramuño
El 10/01/17 a las 17:34, Gonzalo Garramuño escribió: I would like to run a custom command on the zip file generated by cpack. The idea is that I want to calculate its sha256 checksum. Unfortunately it seems the zip file cannot be a target in a CMakeLists.txt file or I'm doing something

[CMake] cmake 3.7.2: add_custom_command can't DEPEND on OBJECT library?

2017-01-14 Thread Paul Smith
If I create an OBJECT library: add_library(libIface OBJECT iface.cpp) Then I create a custom command that depends on this: add_custom_command(OUTPUT out.map      COMMAND touch out.map     DEPENDS libIface      VERBATIM) It doesn't work: the dependency is missing so when I edit the

Re: [CMake] Find Vulkan on 32 bit builds

2017-01-14 Thread Matthäus G . Chajdas
Hi, I've filed a bug report with LunarG. The issue is here: https://vulkan.lunarg.com/issue/view/587509589ab0fa2af19621ca In the meantime, I'll prepare an update which can handle /lib, /lib32 and adds the NO_DEFAULT_PATH in case of 32-bit Windows. Thanks for the report! Cheers, Matthäus Am

Re: [cmake-developers] [Discussion] Add python support for CMakeLists

2017-01-14 Thread Shmuel H,
Maybe we could combine them together: the configuration process would be separated into two stages: 1. Script stage: Look for and run build script, that will generate a [JSON] configuration file. 2. Look for a configuration file, and generate build files according to it. Then, a