-
Notifications
You must be signed in to change notification settings - Fork 17
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
Configure a basic CMake library #34
base: master
Are you sure you want to change the base?
Conversation
Provides 2 targets: `Portduino::Portduino` and `Porduino::PortduinoMain` Can be used like so: ```cmake include(FetchContent) FetchContent_Declare(Portduino GIT_REPOSITORY https://github.com/glebm/framework-portduino.git GIT_TAG ... EXCLUDE_FROM_ALL) FetchContent_MakeAvailable(Portduino) ... target_link_libraries(MyProject PRIVATE Portduino::Portduino) ```
The current CMakeLists.txt in master seems not maintained, it's broken. This updated CMakeLists.txt works nicely from CLI and within vscode:
It's nice to have a quick way to check if all files are compile clean and the library can be build whenever a change is done. HOWEVER: |
Provides 2 targets:
Portduino::Portduino
andPorduino::PortduinoMain
Can be used like so:
Refs #33