Re: [CMake] Generator expressions: Identifying when they're used in a custom command?

2018-02-19 Thread Alan W. Irwin
On 2018-02-19 13:03-0700 Sam Edwards wrote: Alan, I'm kicking myself for leaving off the DEPENDS in add_custom_target as that is the most essential part of what you suggested. Bah! I tried copying in your changes verbatim and I'm still left with an output that produces IS_INTERROGATE=0. This

Re: [CMake] Generator expressions: Identifying when they're used in a custom command?

2018-02-19 Thread Elvis Stansvik
2018-02-19 21:03 GMT+01:00 Sam Edwards : > Alan, > > I'm kicking myself for leaving off the DEPENDS in add_custom_target as that > is the most essential part of what you suggested. Bah! > > I tried copying in your changes verbatim and I'm still left with an output > that

Re: [CMake] Generator expressions: Identifying when they're used in a custom command?

2018-02-19 Thread Sam Edwards
Alan, I'm kicking myself for leaving off the DEPENDS in add_custom_target as that is the most essential part of what you suggested. Bah! I tried copying in your changes verbatim and I'm still left with an output that produces IS_INTERROGATE=0. This is on both 3.9.6 (my development machine) and

Re: [CMake] Generator expressions: Identifying when they're used in a custom command?

2018-02-19 Thread Alan W. Irwin
On 2018-02-18 19:47-0700 Sam Edwards wrote: Alan, Thanks for your help! I tried to implement that paradigm myself in a small example CMakeLists.txt which I've attached, but the addition of a depending custom target doesn't seem to change the context of the 'this' target. In other words, the

[Cmake-commits] CMake branch, master, updated. v3.11.0-rc1-41-g3141981

2018-02-19 Thread Kitware Robot
VERSION_MINOR 11) -set(CMake_VERSION_PATCH 20180219) +set(CMake_VERSION_PATCH 20180220) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/

[cmake-developers] [SOLVED] CMake build with static crt and static QtDialog not linking

2018-02-19 Thread Stuermer, Michael SP/HZA-ZSEP
Hello Brad, I finally solved all remaining problems (there's only a cosmetic one left). Turns out there's a bug in the msvc 2017 compiler: https://developercommunity.visualstudio.com/content/problem/76198/vs-2017-compiler-creates-broken-debug-build-using.html There is some discussion going on