[CMake] CMake script mode not backward compatible?

2018-10-29 Thread Damien R
if it is a regression, or if I was lucky that it worked in cmake prior to 3.10? Damien R. -- 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

[CMake] Auto generating package configuration file?

2018-02-14 Thread Damien R
need to do that? Is it not possible for cmake to autogenerate theses files? I may be wrong but I think that "modern cmake" has the necessary informations to do that. Regards, Damien R. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www

Re: [CMake] check_cxx_compiler_flag usage

2017-12-07 Thread Damien R
ut I think that they should use check_cxx_source_compiles. In your case I would use CMAKE_REQUIRED_FLAGS and check_cxx_source_compiles. But as I am not the developer which has written this cmake code there may be some points that invalidate what I just said. Regards, Damien R. On 7 December 201

Re: [CMake] check_cxx_compiler_flag usage

2017-12-07 Thread Damien R
do? If yes, is it a bug? Regards, Damien R. On 7 December 2017 at 10:35, Eric Noulard <eric.noul...@gmail.com> wrote: > > Not really answering the question but > did you try to use an existing CMake module for handling sanitizers config? > > I find this one https://github.c

[CMake] check_cxx_compiler_flag usage

2017-12-07 Thread Damien R
S and what is the official way for checking this flag? Regards, Damien R. -- 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, pl

Re: [CMake] Using a variable as a method name

2012-06-02 Thread Damien R
${foo2}(arg1 arg2) by: include(${foo1}.cmake) bar(...) include(${foo2}.cmake) bar(...) where: ${foo1} = bar1 ${foo2} = bar2 Regards, Damien R. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages

Re: [CMake] Using a variable as a method name

2012-06-02 Thread Damien R
On 2 June 2012 12:16, Damien R damienrg+l...@gmail.com wrote: Hi, there is also a variation based on the workaround given by David: ... Sorry, this workaround was already found in the bug mentioned by David in his last post (http://public.kitware.com/Bug/view.php?id=4034). The problem

[CMake] Test organization within cmake

2012-05-24 Thread Damien R
? Regards, Damien R. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http