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

IoTHub Questions #2

Open
rschiefer opened this issue Feb 3, 2022 · 1 comment
Open

IoTHub Questions #2

rschiefer opened this issue Feb 3, 2022 · 1 comment

Comments

@rschiefer
Copy link

Just have a general question about how you added IoTHub sdk to the repo. Any particular reason you chose not to use git submodule?

Also I've tried adding IoT hub to my custom project using the same CMakeLists references you have and it doesn't build correctly. Did you do anything special to make it work?

@gloveboxes
Copy link
Member

gloveboxes commented Feb 23, 2022

Hi there - the reason is you can't submodule a branch/or tag. Well that was my experience and research, so in the end I just included the sdk in the project. Cheers Dave

see https://github.com/Azure/azure-iot-sdk-c/blob/main/doc/devbox_setup.md you are meant to pull a tagged branch

PS, I didn't do anything special...

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

2 participants