The target name in the depfile does not match the target name on the
ninja build line due to absolute vs relative path mismatch. Even though
they refer to the same file, the target names must match exactly.
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ
We do it like this:
- in projectA/CMakeLists.txt:
set( ProjectA_IN_TREE TRUE CACHE INTERNAL "" )
- in projectA/ProjectA-config.cmake.in (which is converted to
ProjectA-config.cmake by a call to configure_package_config_file from
the CMakePackageConfigHelpers module):
if( Projec
Hello,
in my build process I need to call a compiler like tool with the same
include directories as a certain target.
I tried the following:
cmake_minimum_required(VERSION 3.2)
project(cmake-genex C)
add_library(dummy dummy.c foo.c)
target_include_directories(dummy PUBLIC foo bar)
set(prop "$