I've managed to achieve a mostly acceptable result by using ExternalProject...
It's not perfect ... and doesn't show up properly in VSCode for editing, but it will probably be sufficient for now.
Thanks for the various pointers.
Code:
## Add the external project to make the tool...#include(ExternalProject)ExternalProject_Add(Tool PREFIX tool SOURCE_DIR ${CMAKE_SOURCE_DIR}/ext_tool BINARY_DIR ${CMAKE_BINARY_DIR}/tool CMAKE_ARGS "-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}" BUILD_ALWAYS 1 INSTALL_COMMAND "")
Thanks for the various pointers.
Statistics: Posted by essele — Mon Apr 01, 2024 1:18 pm