Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to generate a DLL Target instead #9

Open
OCT-Burnz opened this issue Dec 2, 2020 · 0 comments
Open

Trying to generate a DLL Target instead #9

OCT-Burnz opened this issue Dec 2, 2020 · 0 comments

Comments

@OCT-Burnz
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant