Skip to content

[QUESTION] using xtd in a pre-written CMake project #251

@ethindp

Description

@ethindp

Your question

I'm trying to incorporate xtd into a project via the cpm.cmake package manager. However, this doesn't work because I have to first execute find_package and then when I try to do target_xxx CMake either: (1) claims that target_link_libraries(...) has already been used, or (2) the library tries to generate assembly information, but it does it in a weird way (it does something like ${CMAKE_SOURCE_DIR}/{generated_code_here}). Obviously, this doesn't work. What am I doing wrong?

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingquestionFurther information is requested

Projects

Status

Todo

Status

To do

Relationships

None yet

Development

No branches or pull requests

Issue actions