Comments (4)
I feel like having each project have its own build folder is the best approach. We do this with other monorepos already. The build pipeline will be able to publish build artifacts from all of the different build folders.
from azure-sdk-for-c.
The most important things are to have your dependencies that will live in the same monorepo export targets (with install(EXPORT)) and make sure that you always create an alias target so that you can use the project the same way if you found it "on the system" with find_package as you can from the build tree.
I think we'll want a central core repo pretty fast, and that can demonstrate this.
from azure-sdk-for-c.
@bsiegel which option do you prefer?
@barcharcraz what's the best practice for CMake and multiproject repo?
from azure-sdk-for-c.
For cmake monorepos it's common to do both. The example cmake file in #2 is designed so that you can call add_subdirectory
from a parent folder and it will behave nicely.
Also: the build folders can be anywhere you want, and for the CI machines I would make them totally outside of the checked out repo (especially since they CI may build multiple different configurations)
from azure-sdk-for-c.
Related Issues (20)
- What MQTT library is being used in the paho iot hub twin device sample HOT 2
- EngSys for C container testing HOT 2
- ESP32 DigiCert Global G2 migration HOT 3
- Send json via ESP32 HOT 7
- Inquiry: using MQTT-WS transport in azure-sdk-for-c-arduino HOT 6
- Azure_IoT_Hub_RealtekAmebaD the example build error. HOT 1
- Direct Method Example to be added on arduino HOT 10
- Azure Central: TELEMETRY_FREQUENCY_IN_SECONDS not working HOT 3
- azure-sdk-for-c-arduino, can't see telemetry data from devices in AZURE,ESP32 HOT 1
- Add optional logging to _az_RETURN_IF_*
- Telemetry Payload question, azure-sdk-for-c-arduino, ESP32 HOT 8
- ublox SARA R500S and ESP32 HOT 2
- message properties HOT 7
- Azure IoT Central telemetry data duplication issue HOT 3
- Create linter baseline file for azure-sdk-for-c. HOT 1
- Failure in Windows VS 2022 CI tests HOT 2
- Re-enable address sanitizer on VS2022
- DEVICE STUCK AS CONNECTING TO SNTP SERVER HOT 1
- Unable to build az_iot_hub_client samples on windows HOT 3
- In Azure central IoT API Query GROUP BY with local time zone feature HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-sdk-for-c.