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
<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
--
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 :
>
>
>
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]
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
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
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
, 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
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
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
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+
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
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
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)
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
15 matches
Mail list logo