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

Fix up CMake formatting #60

Merged
merged 4 commits into from Jun 27, 2019

Conversation

Projects
None yet
2 participants
@spinda
Copy link
Contributor

commented Jun 26, 2019

  • Add a cmake_format configuration file and re-format with cmake_format 0.5.3.
  • Shift the setting that controls HYDRO_TARGET_DEVICE_XXX definitions to the main CMakeLists.txt, so it can be configured by projects importing libhydrogen via add_subdirectory. The Arduino toolchain still automatically initializes this setting based on the target MCU.
  • Prefix Arduino CMake toolchain options with HYDROGEN_*.

spinda added some commits Jun 26, 2019

Set HYDRO_TARGET_DEVICE_XXX in main CMakeLists.txt
This way it can be configured by projects importing libhydrogen as a
dependency via add_subdirectory. The Arduino toolchain file still
automatically configures it to match the target Arduino MCU.

@jedisct1 jedisct1 merged commit 614c1dc into jedisct1:master Jun 27, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.