imgui-node-editor icon indicating copy to clipboard operation
imgui-node-editor copied to clipboard

cmake modular installation

Open Haranoi17 opened this issue 3 years ago • 0 comments

I'm not sure weather this change helps or interrupts.

It's definitely not finished and needs work but I require some help with that since I'm still new to CMake.

Main reason I made these changes was to build my application in elegant way. I wanted to use your "application" class as starting point but I didn't want to wire CMakes to build directory.

After introducing changes, building and installing. Integration with imgui-node-editor looks like this. image image

Unfortunately I couldn't come up with solution to PUBLIC include directories. From my understanding mere linking to imgui_node_editor::imgui_node_editor should make them visible for the project but It doesn't. Hence ${CMAKE_INSTALL_PREFIX}/../imgui_...

Haranoi17 avatar Nov 19 '22 22:11 Haranoi17