Re: [CMake] Support of compile features for Fujitsu C++ Compiler

2019-04-26 Thread Kai Wolf
If you want to add support to your specific compiler, you could add or extend another Fujitsu-DetermineCompiler.cmake file and append your CMAKE_MODULE_PATH in order to CMake to find it. You probably also need to adjust *Fujitsu-CXX.cmake, Fujitsu-CXX-FeatureTests.cmake and so on. I gave a talk

Re: [CMake] [cmake-developers] Using CMake as a package manager vs using a dedicated package management tool (like Conan)

2019-02-19 Thread Kai Wolf
<https://github.com/conan-io/conan/issues/4467> -- Kai Wolf Kai Wolf - SW Consulting www.kai-wolf.me <http://kai-wolf.me/> XING <https://www.xing.com/profile/Kai_Wolf14> · LinkedIn <https://www.linkedin.com/in/kw0lf/> · GitHub <https://github.com/NewProggie> > Am

Re: [CMake] [cmake-developers] Using CMake as a package manager vs using a dedicated package management tool (like Conan)

2019-02-19 Thread Kai Wolf
-- Kai Wolf Kai Wolf - SW Consulting www.kai-wolf.me <http://kai-wolf.me/> XING <https://www.xing.com/profile/Kai_Wolf14> · LinkedIn <https://www.linkedin.com/in/kw0lf/> · GitHub <https://github.com/NewProggie> > Am 19.02.2019 um 11:56 schrieb Craig Scott : > > >

Re: [CMake] Get linker flags / include directories for a library target

2018-12-21 Thread Kai Wolf
You can ask a CMake build target for its properties using get_target_property(). For instance, to retrieve the linker flags for a given target foo, you’d write: get_target_prooperty(foo_linker_flags foo LINK_FLAGS) See [1] for a list of valid parameters. Greetings, Kai [1]

Re: [CMake] ExternalProject, Superbuild and rebuild on Windows

2018-12-20 Thread Kai Wolf
The CMAKE_BUILD_TYPE variable only makes sense for single-configuration generators (such as Makefile or Ninja) and is not used for IDE type generators. You should rather look for CMAKE_CONFIGURATION_TYPES as well as CMAKE_CFG_INTDIR. Greetings, Kai http://kai-wolf.me

Re: [CMake] Testing our CMake Modules

2018-12-10 Thread Kai Wolf
They (Kitware) typically write custom .cmake files to test the function/macro under test coupled together with a CMakeLists.txt file and/or a small C/C++ implementation file. Look here [1] for some examples, for instance CMake/Tests/MacroTest. Greetings, Kai http://kai-wolf.me

Re: [CMake] using ExternalProject_Add when cmake is launched

2018-05-02 Thread Kai Wolf
You probably need to manually add a dependency from your ExternalProject to your target that needs the libraries. For instance ExternalProject_Add(fetch_win32_libs ...) add_library(your_other_target ...) add_dependencies(your_other_target fetch_win32_libs) Greetings Kai Wolf http

[CMake] Adding ignored tests to CTest XML output

2018-03-22 Thread Kai Wolf
, it seems that even though the tests are indeed not executed when running CTest, they're also not put into the XML file, for instance with . Is this behaviour expected or am I missing something? Thanks in advance Kai Wolf http://kai-wolf.me/ kai.w...@gmail.com -- Powered by www.kitware.com Please

Re: [CMake] [ANNOUNCE] CMake 3.11.0-rc3 is now ready for testing

2018-03-10 Thread Kai Wolf
he case, I will submit a patch for it right away. I just want to make sure, I’m not misunderstanding something here? Greetings, Kai Wolf <http://kai-wolf.me/> <http://kai-wolf.me/> <http://kai-wolf.me/>http://kai-wolf.me/ <http://kai-wolf.me/> [1] https://cmake

Re: [CMake] using external library

2018-03-05 Thread Kai Wolf
project. So you might want to reconsider a more cleaner layout. For inspiration you may have a look at the CMake configuration of the OpenChemistry project [1]. Greetings [1] https://github.com/OpenChemistry/openchemistry Kai Wolf http://kai-wolf.me/ kai.w...@gmail.com 2018-03-05 11:59 GMT+01:00

Re: [CMake] [blog article] It's Time To Do CMake Right

2018-02-20 Thread Kai Wolf
quite well and managing a large set of (external) thirdparty dependencies is usually not as bad as it might look. Greetings, Kai Wolf <http://kai-wolf.me/> <http://kai-wolf.me/> <http://kai-wolf.me/> <http://kai-wolf.me/> http://kai-wolf.me/ 2018-02-20 15:41 GMT+

Re: [CMake] [blog article] It's Time To Do CMake Right

2018-02-20 Thread Kai Wolf
a correct and scalabale manner. As a shameless self-plug: I am currently writing a book[1] on exact this topic and really hope, I'll be able to release it by summer 2018 :-( Greetings, Kai [1] http://effective-cmake.com/ <https://github.com/NewProggie> 2018-02-20 14:38 GMT+01:00 Ka

Re: [CMake] [cmake] [RFC] rewriting FindMKL

2018-01-23 Thread Kai Wolf
I've fixed some (mentioned) issues already and opened up a PR on GitHub. You might want to check that out, otherwise I'll just delete my PR. 2018-01-22 22:20 GMT+01:00 Alexander Neundorf : > On 2018 M01 22, Mon 15:16:50 CET Sik wrote: >> Hello CMake users and devs, >> >> In

[CMake] How to include external (shared) library with several dlls/dylibs

2018-01-22 Thread Kai Wolf
Hi, I need to integrate an externally built (shared) library as a logical build target into my CMake configuration which consists of several shared library files (dlls/dylibs). Usually I'd do the following: find_path(MyLib_INCLUDE_DIR mylib.h HINTS ${MyLib_PATH}/include)

[CMake] Concerning IDE support for superbuilds

2018-01-21 Thread Kai Wolf
Hi all, a common approach for dealing with larger dependencies in a project is using a superbuild approach, where all dependencies get downloaded in a separate repository using ExternalProject_Add() and the actual project is included as a sub repository (e.g. using git submodules) and also