> On Oct 5, 2017, at 3:50 AM, Nagy-Egri Máté Ferenc wrote:
>
> Hi Michael!
>
> This is what I wanted to do (only relevant parts showing):
>
> /// top-level CMakeLists.txt
> add_subdirectory(Gripper)
> add_subdirectory(examples)
>
>
> /// Gripper/CmakeLists.txt
> set(RESULT ${CMAKE_CURRENT_BI
Re: [CMake] Generate headers and inherit include_directories
maybe a CMake snippet of what you are trying would help clarify, but are you
using an interface library for your header-only? I would assume yes - and then
have to tried add_dependency() for that library to trigger the file generation?
The
maybe a CMake snippet of what you are trying would help clarify, but are you
using an interface library for your header-only? I would assume yes - and then
have to tried add_dependency() for that library to trigger the file generation?
The dependency will only be resolved when the library is use
Hi!
I am a seasoned Cmake user but cannot solve a fairly simple problem, so I might
be mistaking the forest for the trees.
I have a project in which there is a custom_command/custom_target pair that
creates a header file as part of a (currently) header-only target. I want to
create an imported