Skip to content

Adding to existing project #122

Closed Answered by jcelerier
flpDiskJ asked this question in Q&A
Nov 16, 2024 · 2 comments · 5 replies
Discussion options

You must be logged in to vote

hello ! how does your CMakeLists.txt look like ?
The simplest way is to use add_subdirectory and then link libremidi to your app:

project(your_project)

# load dependencies
add_subdirectory(3rdparty/libremidi) # example folder

# create your app
add_executable(your_tracker foo.cpp bar.cpp main.cpp)
target_link_libraries(your_tracker PRIVATE libremidi)

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@flpDiskJ
Comment options

Answer selected by flpDiskJ
Comment options

You must be logged in to vote
4 replies
@flpDiskJ
Comment options

@jcelerier
Comment options

@flpDiskJ
Comment options

@jcelerier
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants