Re: [CMake] Setting permissions with CPack/WiX installer

2019-04-08 Thread Nils Gladitz
On Mon, Apr 8, 2019 at 2:07 AM Cook, Steven (G) wrote: > Hi Nils, > > > > > Been a while since I looked at this but it still seems to work for me > in 3.14.0. > > > Corresponding elements are generated in files.wxs: > > > > Can you please tell me

Re: [CMake] Setting permissions with CPack/WiX installer

2019-04-05 Thread Nils Gladitz
but it still seems to work for me in 3.14.0. Corresponding elements are generated in files.wxs: Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: htt

[cmake-developers] Missing Bullseye coverage on CMake Dashboard

2018-08-15 Thread Nils Gladitz
Hi, I was curious about Bullseye coverage integration with CDash and thought to remember that this was available on CMake's Dashboard at some point. Currently I see a "Linux-bullseye-cov" build but no entry under "Coverage". Is that expected or did this break at some point

Re: [cmake-developers] Enabling SSL support by default when building CMake from source

2018-08-09 Thread Nils Gladitz
om/cmake/cmake/commit/190a5fdffd8104ad613854bdd563a0a11dd88f63 Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit:

Re: [CMake] $ is not empty even if configuration has no PDB

2018-08-03 Thread Nils Gladitz
work when users directly manipulated PDB specific compiler flags. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offerin

Re: [CMake] groups of ascii nul ('\0) characters inserted into make output but this just occurs for parallel builds

2018-07-09 Thread Nils Gladitz
esses are reading/writing the same test.error file in parallel? Haven't looked closer than that. You probably know better where to look from there. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers va

Re: [cmake-developers] Race between ADD_CUSTOM_COMMAND()

2018-07-04 Thread Nils Gladitz
not exactly a bug): https://cmake.org/cmake/help/latest/command/add_custom_command.html "Do not list the output in more than one independent target that may build in parallel or the two instances of the rule may conflict[...]". Nils -- Powered by www.kitware.com Please keep message

Re: [CMake] CMAKE_SYSROOT

2018-07-03 Thread Nils Gladitz
cmake.org/cmake/help/latest/variable/CMAKE_FIND_ROOT_PATH.html Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please vis

Re: [CMake] target_include_directories and system headers

2018-06-28 Thread Nils Gladitz
irectories-and-usage-requirements Specifically the paragraph close to the end starting with "When the INTERFACE_INCLUDE_DIRECTORIES of an imported target...". Basically include directories inherited from imported targets are implicitly "SYSTEM" by default. Nils -- Powe

[CMake] rebuild_cache does not fully rebuild the cache information

2018-05-09 Thread Nils Rathmann
. It this intended? And why is it intended? I work with cmake 3.9.1. Thank you, Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering

Re: [CMake] Is it possible for CMake to generate unescaped quotes on the (bash) command line as a result of add_custom_command?

2018-04-13 Thread Nils Gladitz
LIBRARY_TARGET_PREFIX} expands empty add_custom_command() will receive an argument which it will escape / quote as required by the build system. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various ser

Re: [CMake] What are the actual benefits of namespaced targets?

2018-03-11 Thread Nils Gladitz
for examples on how to use the libraries in their own code where consistency might be beneficial. It might also help (slightly) if you ever decided to split off parts of your project into new projects (which then would become consumers of the exported targets). Nils -- Powered by www.kitware.com

Re: [CMake] What are the actual benefits of namespaced targets?

2018-03-08 Thread Nils Gladitz
n the library target has a namespace CMake will require the given name to be a target and will fail during generation if the target is not actually available. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Ki

Re: [CMake] Do any CMake back ends have support for parallel builds that efficiently use clusters?

2018-01-12 Thread Nils Gladitz
bout MPI but would distributed compilation via icecc (icecream) [1] or distcc be an option? Should work with both the Makefile and Ninja generators (replace compilers with icecc/distcc compiler wrappers). Nils [1] https://github.com/icecc/icecream -- Powered by www.kitware.com Please keep message

Re: [CMake] CTest not searching for the correct executable

2018-01-05 Thread Nils Gladitz
n states [1]:     "Unlike the above |NAME| signature no transformation is performed on the command-line to support target names or generator expressions." Use the new signature instead e.g.:     add_test(NAME RunTests COMMAND MyTest) Nils [1] https://cmake.org/cmake/help/latest/comm

Re: [CMake] CMakeLists.txt location

2017-09-13 Thread Nils Gladitz
On 13.09.2017 14:31, Alain Miniussi wrote: On 13/09/2017 12:49, Nils Gladitz wrote: [...] Do you have a minimal reproducible example for that behaviour? e.g. given: cmake_minimum_required(VERSION 2.8.0) project(Foo NONE) file(WRITE foo/CMakeLists.txt "add_execu

Re: [CMake] CMakeLists.txt location

2017-09-13 Thread Nils Gladitz
On 13.09.2017 12:22, Alain Miniussi wrote: On 13/09/2017 11:16, Nils Gladitz wrote: On 13.09.2017 10:52, Alain Miniussi wrote: Hi, Is there a way, when printing CMake error, to get the exact location of the CMakeLists.txt ? For example, right now, when I have: CMake Error

Re: [CMake] CMakeLists.txt location

2017-09-13 Thread Nils Gladitz
one has add_executable at line 14. CMake includes the (relative to the root source directory) path for me e.g.: CMake Error at Source/CMakeLists.txt:4 (add_executable): Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki

Re: [CMake] Regex Matching

2017-08-23 Thread Nils Gladitz
MATCHES ".*test") Does cmake always search for a subexpression? Is there some way to prevent this behaivor? The regex syntax is documented here: https://cmake.org/cmake/help/latest/command/string.html#regex-specification if ("This is a test" MATCHES "^test")

Re: [CMake] CPackWIX and MS Visual Studio Redistributable *.MSM

2017-08-18 Thread Nils Gladitz
rator and compiler specific while the competing https://cmake.org/cmake/help/latest/module/InstallRequiredSystemLibraries.html is both generator and compiler agnostic. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_

Re: [CMake] The C compiler "/usr/bin/cc" is not able to compile a simple test program.

2017-07-30 Thread Nils Gladitz
). Also note if the C compiler has already been configured for a build tree it can not simply be changed. Which is also why the CC environment variable has no effect on build trees where the C compiler is already configured. Nils -- Powered by www.kitware.com Please keep messages on-topic

Re: [CMake] setting PYTHONPATH for test

2017-07-30 Thread Nils Gladitz
(NAME ${name} COMMAND “${PYTHON_EXECUTABLE}" ${testfile}) It should enable generator expression processing in test properties. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various ser

Re: [CMake] How to get list of generated object-files of OBJECT-library?

2017-07-17 Thread Nils Gladitz
On 17.07.2017 17:13, Deniz Bahadir wrote: Am 17.07.2017 um 16:47 schrieb Nils Gladitz: On 7/17/2017 3:52 PM, Deniz Bahadir wrote: This works just fine. However, now I want to add an additional build-step after creation of the object-files and before linking the shared library

Re: [CMake] How to get list of generated object-files of OBJECT-library?

2017-07-17 Thread Nils Gladitz
ttps://cmake.org/cmake/help/latest/module/CPackIFW.html#command:cpack_ifw_configure_component Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For mor

Re: [cmake-developers] Using USES_TERMINAL in ExternalProject.cmake

2017-07-13 Thread Nils Gladitz
the USES_TERMINAL_* options in https://cmake.org/cmake/help/latest/module/ExternalProject.html (since 3.4) but beware that there can be only one job in the console pool at a time so this might also reduce parallelization. Nils -- Powered by www.kitware.com Please keep messages on-topic and check

Re: [CMake] Warning: Argument not separated from preceding token by whitespace.

2017-06-26 Thread Nils Gladitz
escape sequences and the addition of VERBATIM. You don't want literal quotes but rather want to leave platform/generator specific quoting to CMake. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers va

Re: [CMake] Platform dSPACE

2017-06-23 Thread Nils Gladitz
work (works for me). Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cm

Re: [CMake] Is there a way to produce the documentation of cmake in xml format?

2017-06-07 Thread Nils Gladitz
Assuming you've installed sphinx and enabled e.g. SPHINX_HTML (-DSPHINX_HTML=ON) you could try a verbose build of the "documentation" target to see how a sphinx-build invocation looks like. To change the builder modify the argument after the -b option (e.g. replace "html" wit

Re: [CMake] DLL handling under CMake

2017-04-28 Thread Nils Gladitz
TION_DEBUG or LOCATION_RELEASE). Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake

Re: [CMake] fftw library in cmake

2017-04-21 Thread Nils Gladitz
lating its IMPORTED_LOCATION [1] (or IMPORTED_LOCATION_ [2]) target property. Without it CMake does not know what on disk library file to link to. You can set target properties with set_property() or set_target_properties(). Nils [1] https://cmake.org/cmake/help/latest/prop_tgt/IMPORTED_LOCATI

Re: [CMake] CMake uses semi-colon as path separator on Linux

2017-04-14 Thread Nils Gladitz
LE_OPTIONS) and some expect strings with whitespace separated arguments (e.g. CMAKE_C_FLAGS, COMPILE_FLAGS). Presumably you are feeding the list to something that expects the latter. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmak

Re: [CMake] Directing cmake to link against shared object with debug postfix (_d)

2017-04-12 Thread Nils Gladitz
On 12.04.2017 17:48, Olumide wrote: Thanks Nils. BTW, shouldn't that be ContinuumTransfunctioner$<$:_d> Transmogrifier$<$:_d> Ah right given your specific case, yes. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://w

Re: [CMake] Directing cmake to link against shared object with debug postfix (_d)

2017-04-12 Thread Nils Gladitz
rget exports and package configuration files: https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html#creating-packages Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various service

Re: [CMake] Linker error when building 3.8.0-rc4 on Linux

2017-03-31 Thread Nils Gladitz
an Ubuntu 16.10 Docker container and it worked there as-is. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering

Re: [CMake] Linker error when building 3.8.0-rc4 on Linux

2017-03-31 Thread Nils Gladitz
On 03/31/2017 11:54 AM, Alan W. Irwin wrote: Hi Nils: And use of ExternalProject_Add, etc. In other words, this is a pretty crippling restriction for users with Linux distributions (such as the quite recent Ubuntu 2016.10 of the original poster) that do not yet give access to libssl version

Re: [CMake] Linker error when building 3.8.0-rc4 on Linux

2017-03-31 Thread Nils Gladitz
port in curl which would mean no "https://; support in e.g. file(DOWNLOAD) and CTest submissions. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake co

Re: [CMake] Linker error when building 3.8.0-rc4 on Linux

2017-03-31 Thread Nils Gladitz
"bootstrap ... -- -DCMAKE_USE_OPENSSL=false". To point CMake at a custom OpenSSL installation instead setting the CMAKE_PREFIX_PATH environment to the installation should work. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmak

Re: [CMake] Visual Studio 2017 could not be found if installed in non-default location

2017-03-28 Thread Nils Gladitz
ect / accept those version suffixes. Beyond that I can't think of anything other than debugging into cmVSSetupHelper.cxx. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to s

Re: [CMake] Visual Studio 2017 could not be found if installed in non-default location

2017-03-28 Thread Nils Gladitz
On 03/28/2017 03:17 PM, HarpyWar wrote: Nils Gladitz, the command, which you proposed, return nothing, even on a machine where a compiler found: vswhere -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -requires Microsoft.VisualStudio.Component.Windows10SDK For me it lists my

Re: [CMake] Visual Studio 2017 could not be found if installed in non-default location

2017-03-27 Thread Nils Gladitz
Microsoft.VisualStudio.Component.Windows10SDK I think those are the default components CMake might expect when looking for compatible installations. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support

Re: [CMake] VS Code generator?

2017-03-24 Thread Nils Gladitz
/experience about using VS Code with CMake on Linux would be great. Did you see https://marketplace.visualstudio.com/items?itemName=vector-of-bool.cmake-tools ? Might have more potential with the noted CMake Server support than CMake generated IDE files. Nils -- Powered by www.kitware.com

Re: [CMake] Running test who have two labels?

2017-03-24 Thread Nils Gladitz
e.g. "L1", "L2", "L1-L2". I was pondering trying to implement test filtering based on the condition evaluator CMake uses for if()/while() at some point (cmConditionEvaluator.cxx). e.g. --run-tests-if "L1 IN_LIST TEST_LABELS AND L2 IN_LIST TEST_LABELS" Nils -

Re: [CMake] can't locate library with find_library

2017-03-22 Thread Nils Gladitz
doc/gflags-2.1.1/AUTHORS.txt /usr/share/doc/gflags-2.1.1/COPYING.txt /usr/share/doc/gflags-2.1.1/ChangeLog.txt /usr/share/doc/gflags-2.1.1/README.txt Did you also install the corresponding development package e.g. "gflags-devel"? Nils -- Powered by www.kitware.com Please keep message

Re: [CMake] Windows mapped network drive and 'if EXISTS'

2017-03-03 Thread Nils Gladitz
or since the backslash starts an escape sequence [1]. Nils [1] https://cmake.org/cmake/help/latest/manual/cmake-language.7.html#escape-sequences -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various

Re: [CMake] Potential bug: Having executables named "test" causes Ninja generator to generate ambiguous rules...

2017-02-22 Thread Nils Gladitz
for the Ninja generator currently but either way the users mailing list might not be the best place to reach the developers. The issue tracker is available here: https://gitlab.kitware.com/cmake/cmake/issues The developers mailing list here: https://cmake.org/mailman/listinfo/cmake-developers Nils

Re: [CMake] CMake install imported target using WIX

2017-02-21 Thread Nils Gladitz
stall() commands? Everything installed by "make install" should also land in the package assuming what ever install logic you used honors the install time CMAKE_INSTALL_PREFIX as set up by CPack. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at:

Re: [CMake] Response files not working with TI compilers

2017-02-20 Thread Nils Gladitz
this. You might want to report the issue here: https://gitlab.kitware.com/cmake/cmake/issues and/or discuss the fix on the developers mailing list: https://cmake.org/mailman/listinfo/cmake-developers Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ

Re: [CMake] Potential bug: Having executables named "test" causes Ninja generator to generate ambiguous rules...

2017-02-15 Thread Nils Gladitz
e existing policy. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/

Re: [CMake] Potential bug: Having executables named "test" causes Ninja generator to generate ambiguous rules...

2017-02-15 Thread Nils Gladitz
ion >= 3.0 will issue a warning (when the required version is < 3.0) or an error (when the required version is >= 3.0) by default: https://cmake.org/cmake/help/v3.8/policy/CMP0037.html Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: h

Re: [cmake-developers] [ANNOUNCE] CMake 3.8.0-rc1 now ready for testing!

2017-02-13 Thread Nils Gladitz
a minimum requirement of 3.4. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Suppor

Re: [CMake] cmake -DX=Y -P : problem unsetting variables defined on command line

2017-02-09 Thread Nils Gladitz
uot;) Now you've got both a regular and cache variable named X. When expanded the regular variable takes precedence. Is this OK? Is this documented anywhere? https://cmake.org/cmake/help/v3.7/manual/cmake-language.7.html#variables Nils -- Powered by www.kitware.com Please keep messages on-

Re: [CMake] CMake 3.7.2 and parallel builds

2017-01-30 Thread Nils Gladitz
On 01/30/2017 02:26 PM, Dave Flogeras wrote: On Sun, Jan 29, 2017 at 9:53 AM, Nils Gladitz <nilsglad...@gmail.com <mailto:nilsglad...@gmail.com>> wrote: FWIW I don't think -j does anything when you build the NightlyBuild target given that that make invocation is

Re: [CMake] Adding cache entries to cmake gui

2017-01-30 Thread Nils Gladitz
are hidden by default. Did you check the "Advanced" option in cmake-gui? Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more informati

Re: [CMake] CMake 3.7.2 and parallel builds

2017-01-29 Thread Nils Gladitz
by the NightlyBuild target would be "ctest -D NightlyBuild" (nothing to parallelize when there is only one command). CTest would spawn another make process for the build. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/

Re: [cmake-developers] CMake server-mode aborting

2017-01-26 Thread Nils Gladitz
cmake server to terminate or something similar. Unfortunately that does not seem to trigger the server to die for me:-/ I haven't really looked into server mode yet but for something that should crash cmake (server or otherwise): function(foo) foo() endfunction() foo() Nils

Re: [CMake] Strange test failure

2017-01-19 Thread Nils Gladitz
elaborate? Any ideas, or how can I get more info on the failure ? ctest -V or ctest --output-on-failure might help. What type of failure does CTest indicate? Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FA

Re: [cmake-developers] Requesting Advice: Installing object files

2017-01-18 Thread Nils Gladitz
of the archive you'd be in control over where the objects go. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering

Re: [CMake] Add dependencies to the automoc/autorcc target?

2017-01-17 Thread Nils Gladitz
this is AUTOMOC specific but I think (like the name implies) that it probably applies to all the AUTOGEN variants. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake

Re: [CMake] Problem with a simple framework target on OS X

2017-01-16 Thread Nils Gladitz
Try add_library( Foo SHARED foo.c foo.h foo.md). From what I remember the target properties in this case only apply to sources that are associated with the target. Unrelated but cmake_minimum_required() should come before project(). Nils -- Powered by www.kitware.com Please keep message

Re: [CMake] Does target order matter for dependencies?

2016-12-08 Thread Nils Gladitz
ed). e.g. if "abc" has custom commands that generate header files that "foo" also depends on this will make sure they are created/updated before "foo" makes use of them. And more obviously "abc"'s library output is created/updated before "foo"

Re: [CMake] Adding Cmake version in online documentation

2016-11-09 Thread Nils Gladitz
could have excluded the case when I brought it up initially preferably before asking for code. I don't have any unmaintained public projects in mind that I could link to. But then again as I said before the code itself is entirely irrelevant; what counts is the context. Nils -- Powered

Re: [CMake] Adding Cmake version in online documentation

2016-11-09 Thread Nils Gladitz
ke/CMP0054/CMP0054-NEW.cmake;h=23a912476024ba09fcf741e04f999b64a6e91450;hb=refs/heads/master Again the code itself is irrelevant here; what matters is the context. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FA

Re: [CMake] Adding Cmake version in online documentation

2016-11-09 Thread Nils Gladitz
o |OLD|, except to silence warnings in an otherwise frozen or stable codebase, or temporarily as part of a larger migration path." Beyond that valid use would be e.g. cmake's own testsuite which needs to be able to toggle individual policies to verify their behaviour. Nils -- Powered by www

Re: [CMake] Adding Cmake version in online documentation

2016-11-09 Thread Nils Gladitz
On 09.11.2016 12:04, Ruslan Baratov wrote: On 09-Nov-16 16:22, Nils Gladitz wrote: On 09.11.2016 04:29, Ruslan Baratov wrote: On 08-Nov-16 23:33, Nils Gladitz wrote: On 11/08/2016 04:17 PM, Ruslan Baratov wrote: Except it's exactly opposite :) `cmake_minimum_required` is about new features

Re: [CMake] Adding Cmake version in online documentation

2016-11-09 Thread Nils Gladitz
On 09.11.2016 03:47, Ruslan Baratov wrote: On 09-Nov-16 06:01, Nils Gladitz wrote: I think the git tag creation dates should roughly equate release dates: https://cmake.org/gitweb?p=cmake.git;a=tags What about the future releases? There was a page https://cmake.org/Bug/changelog_page.php

Re: [CMake] Adding Cmake version in online documentation

2016-11-09 Thread Nils Gladitz
On 09.11.2016 04:29, Ruslan Baratov wrote: On 08-Nov-16 23:33, Nils Gladitz wrote: On 11/08/2016 04:17 PM, Ruslan Baratov wrote: Except it's exactly opposite :) `cmake_minimum_required` is about new features/commands, and policies is about behavior. I don't agree and you can not separate

Re: [CMake] Adding Cmake version in online documentation

2016-11-08 Thread Nils Gladitz
On 08.11.2016 20:26, Albrecht Schlosser wrote: On 08.11.2016 15:22 Nils Gladitz wrote: Strictly speaking cmake_minimum_required(VERSION) is not about command availability but rather about behavior (cmake policies). [...] I'd start by requesting the highest possible version I could justify

Re: [CMake] Adding Cmake version in online documentation

2016-11-08 Thread Nils Gladitz
On 11/08/2016 04:17 PM, Ruslan Baratov wrote: On 08-Nov-16 22:22, Nils Gladitz wrote: Strictly speaking cmake_minimum_required(VERSION) is not about command availability but rather about behavior (cmake policies). Except it's exactly opposite :) `cmake_minimum_required` is about new features

Re: [CMake] Adding Cmake version in online documentation

2016-11-08 Thread Nils Gladitz
/ justifiable. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org

Re: [CMake] Adding Cmake version in online documentation

2016-11-08 Thread Nils Gladitz
think this needs change. You don't have to browse all versions of the documentation ... you only have to work with the documentation that matches the version you declared in cmake_minimum_required(). Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http

Re: [CMake] CPACK WIX shortcuts

2016-11-03 Thread Nils Gladitz
invoking cpack (the "PACKAGE" target that cmake generates does this by default): e.g. cpack -C Release -G WIX The install properties are only generated for the known configurations. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www

Re: [CMake] CPACK WIX shortcuts

2016-11-03 Thread Nils Gladitz
-testsuite/blob/d01013e2066e68088b4f56a8ab7750eb3cea7089/property_start_menu_shortcuts/CMakeLists.txt This still works for me using CMake 3.7.0-rc2. CMake 3.7.0-rc2's own windows installer uses the same feature for the start menu shortcut to the documentation which also seems to work for me. Nils

Re: [cmake-developers] Is there a way in CMake to get a list of all CTest tests added with add_test?

2016-10-05 Thread Nils Gladitz
to e.g. FindGTests.cmake's GTEST_ADD_TESTS() which tries to accomplish the same thing at configuration time by parsing test sources instead. [1] https://cmake.org/cmake/help/v3.6/prop_dir/TEST_INCLUDE_FILE.html Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake

Re: [CMake] [cmake-developers] CPack [WiX] Customizations of individual features/components

2016-09-30 Thread Nils Gladitz
or remove existing elements and can not be used to modify the attributes of existing elements. Nils [1] https://msdn.microsoft.com/en-us/library/windows/desktop/aa372064(v=vs.85).aspx -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org

Re: [cmake-developers] CPack [WiX] Customizations of individual features/components

2016-09-30 Thread Nils Gladitz
or remove existing elements and can not be used to modify the attributes of existing elements. Nils [1] https://msdn.microsoft.com/en-us/library/windows/desktop/aa372064(v=vs.85).aspx -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org

[Cmake-commits] CMake branch, next, updated. v3.6.2-1960-g5ba3f1a

2016-09-12 Thread Nils Gladitz
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5ba3f1a9068a6504c8a3ae5987a090c6fe787b40 commit 5ba3f1a9068a6504c8a3ae5987a090c6fe787b40 Merge: b727346 b35311c Author: Nils Gladitz <nilsglad...@gmail.com> AuthorDate: Mon Sep 12 13:41:35 2016 -0400 Commit:

Re: [cmake-developers] [Patch 5/5] Improved WIX support

2016-09-09 Thread Nils Gladitz
On 09/09/2016 10:54 AM, Stuermer, Michael SP/HZA-ZSEP wrote: The details you miss if you are not using the features ... thanks for the hint, here is corrected patch. Michael Thanks. I merged to "next" with small changes. Nils -- Powered by www.kitware.com Please keep message

[Cmake-commits] CMake branch, next, updated. v3.6.2-1888-g9753c73

2016-09-09 Thread Nils Gladitz
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9753c73bcf72c2dbba11c93406501126e93a5baa commit 9753c73bcf72c2dbba11c93406501126e93a5baa Merge: 804588e c0bccc5 Author: Nils Gladitz <nilsglad...@gmail.com> AuthorDate: Fri Sep 9 07:04:10 2016 -0400 Commit:

[Cmake-commits] CMake branch, next, updated. v3.6.2-1886-g804588e

2016-09-09 Thread Nils Gladitz
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=804588e64dcbe7075d4272edd26975bf76a435d5 commit 804588e64dcbe7075d4272edd26975bf76a435d5 Merge: 740f009 c17b7f7 Author: Nils Gladitz <nilsglad...@gmail.com> AuthorDate: Fri Sep 9 07:03:45 2016 -0400 Commit:

[Cmake-commits] CMake branch, next, updated. v3.6.2-1884-g740f009

2016-09-09 Thread Nils Gladitz
ns in full, below. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=740f009e4c4ad8b532f7b4e478d0863d4be1ce6a commit 740f009e4c4ad8b532f7b4e478d0863d4be1ce6a Merge: 59edc3f 0259faf Author: Nils Gladitz <nilsglad

Re: [cmake-developers] [Patch 5/5] Improved WIX support

2016-09-09 Thread Nils Gladitz
On 09/06/2016 01:26 PM, Stuermer, Michael SP/HZA-ZSEP wrote: Here it is. The patch only seems to allow patching Features generated for components but not Features generated for component groups. Is that intentional or an oversight? I think we should allow patching for both. Nils

Re: [cmake-developers] [Patch 5/5] Improved WIX support

2016-09-08 Thread Nils Gladitz
I'll look into integrating your patch for consistency nonetheless but it should not really have been required for your use case. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services

Re: [cmake-developers] PATCH: Bugfix for WIX support

2016-09-06 Thread Nils Gladitz
;next" for testing. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake

[Cmake-commits] CMake branch, next, updated. v3.6.1-1813-gd7cc684

2016-09-06 Thread Nils Gladitz
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d7cc6846e9bfce3f59161ee1485b181039276d6a commit d7cc6846e9bfce3f59161ee1485b181039276d6a Merge: 2465396 1bc3325 Author: Nils Gladitz <nilsglad...@gmail.com> AuthorDate: Tue Sep 6 11:45:58 2016 -0400 Commit:

Re: [cmake-developers] PATCH: Bugfix for WIX support

2016-09-06 Thread Nils Gladitz
On 09/06/2016 03:45 PM, Nils Gladitz wrote: https://cmake.org/gitweb?p=stage/cmake.git;a=commit;h=fe20015b13d6ccf10d99ff9b3d8f68919164fcf8 Please verify that I haven't broken anything. I broke writing of WIX include files. Should be fixed now: https://cmake.org/gitweb?p=stage/cmake.git

Re: [cmake-developers] PATCH: add custom xmlns namespaces into generated .wxs sources

2016-09-06 Thread Nils Gladitz
arent XML node as far as I understand (no XML expert though). You only have to declare the namespace on the element itself. There is no need for the parent to have it declared. So unless you object for other reasons I don't think the patch is necessary? Nils -- Powered by www.kitware.com P

Re: [cmake-developers] PATCH: Bugfix for WIX support

2016-09-06 Thread Nils Gladitz
GenerateComponentGuids and instead pass the state down into each individual vmWIXSourceWriter instance: https://cmake.org/gitweb?p=stage/cmake.git;a=commit;h=fe20015b13d6ccf10d99ff9b3d8f68919164fcf8 Please verify that I haven't broken anything. Nils -- Powered by www.kitware.com Please keep messages on-topic

Re: [cmake-developers] PATCH: add custom xmlns namespaces into generated .wxs sources

2016-09-06 Thread Nils Gladitz
fragment itself)? The patch is also missing documentation for the new CPACK_WIX_NAMESPACES variable that it introduces. Thanks. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services

Re: [CMake] visual studio tries to link to non-existent static version of lib

2016-08-23 Thread Nils Gladitz
ed to take to make this work on Windows? mylib.lib is the import library [1] for your DLL. The linker is (probably) not creating it because you aren't exporting any symbols [2]. Nils [1] https://en.wikipedia.org/wiki/Dynamic-link_library#Import_libraries [2] https://msdn.microsoft.com/en-

Re: [CMake] Wrong version of cl.exe for x64

2016-08-22 Thread Nils Gladitz
) set (HAVE_GL_GL_H 1) endif (MSVC) Is this what you suggest? I suppose I'd go with if(WIN32). Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community

Re: [CMake] Wrong version of cl.exe for x64

2016-08-22 Thread Nils Gladitz
On 08/22/2016 01:30 PM, Albrecht Schlosser wrote: On 22.08.2016 12:54 Nils Gladitz wrote: On 08/22/2016 12:18 PM, Albrecht Schlosser wrote: On 22.08.2016 10:33 Nils Gladitz wrote: The visual studio command line environments should have no effect when using the visual studio generators

Re: [CMake] Wrong version of cl.exe for x64

2016-08-22 Thread Nils Gladitz
On 08/22/2016 12:18 PM, Albrecht Schlosser wrote: On 22.08.2016 10:33 Nils Gladitz wrote: The visual studio command line environments should have no effect when using the visual studio generators. Are you sure? Or what does "should" mean here? ;-) Yes. The Visual Studio

Re: [CMake] Wrong version of cl.exe for x64

2016-08-22 Thread Nils Gladitz
be relevant when you use one of the command line generators (e.g. makefiles or ninja). Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more

Re: [CMake] Wrong version of cl.exe for x64

2016-08-22 Thread Nils Gladitz
chooses and CMake just records that choice in CMAKE__COMPILER. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each

Re: [CMake] Suppressing policy warnings

2016-08-19 Thread Nils Gladitz
) the ambiguities that the policy warnings point to. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit

Re: [cmake-developers] [Patch 5/5] Improved WIX support

2016-08-16 Thread Nils Gladitz
e can only be one root-Feature. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Sup

Re: [cmake-developers] [Patch 5/5] Improved WIX support

2016-08-12 Thread Nils Gladitz
elements for any corresponding Feature element. Nils The intention was to be able to add custom components that are added as extra .wxs source files to certain features. If there are more convenient ways to do this I will be happy to change the implementation or adapt my WIX project. But so far

Re: [cmake-developers] [Patch 5/5] Improved WIX support

2016-08-12 Thread Nils Gladitz
Feature element. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http

Re: [cmake-developers] [Patch 4/5] Improved WIX support

2016-08-08 Thread Nils Gladitz
hough I am not too fond of the semantics which is why my contribution to the documentation is primarily a cautionary note. Nils | -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services

[Cmake-commits] CMake branch, next, updated. v3.6.1-1137-g25bd0c3

2016-08-08 Thread Nils Gladitz
ns in full, below. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=25bd0c3824b55ba10c23bc837ca28879487686bc commit 25bd0c3824b55ba10c23bc837ca28879487686bc Merge: 8c38d8e 17bbf6a Author: Nils Gladitz <nilsglad

  1   2   3   4   5   6   7   8   9   >