Hello,
i've been trying VisualGBD lately and experimenting to modify the CMakeLists.txt to generate a dll instead of an executable but it appears you can't just change the add_executable entry to add_library. The project generates a lot of linker errors then.
(add_library(openocd SHARED openocd.c main.c hello.c ${CMAKE_CURRENT_BINARY_DIR}/startup_tcl.inc)
Could anybody please be so kind and drop a working CMakeLists.txt or instructions on how to convert that project ? I happily buy a license or donate something to this project if someone is able to help out. Thank you very much!
Hello,
i've been trying VisualGBD lately and experimenting to modify the CMakeLists.txt to generate a dll instead of an executable but it appears you can't just change the add_executable entry to add_library. The project generates a lot of linker errors then.
(add_library(openocd SHARED openocd.c main.c hello.c ${CMAKE_CURRENT_BINARY_DIR}/startup_tcl.inc)Could anybody please be so kind and drop a working CMakeLists.txt or instructions on how to convert that project ? I happily buy a license or donate something to this project if someone is able to help out. Thank you very much!