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

Set _use_math_macro in compiler for windows #679

Merged
merged 3 commits into from
May 13, 2024

Conversation

schaubh
Copy link
Contributor

@schaubh schaubh commented May 7, 2024

  • Review: By commit
  • Merge strategy: Merge (no squash)

Description

Lifting this branch from the LASP version of Basilisk to regular Basilisk repo. The original author is @patkenneally.

On Windows some math definitions are not included by default unlike macOS and Linux compilers. Instead of including the math library in each module *.h file individually, this change includes the math definitions file within the build system for the Windows platform.

Verification

Clean build without warnings and all tests passed.

Documentation

Documentation built without issues.

Future work

None

@schaubh schaubh added the build Build system or compilation enhancement label May 7, 2024
@schaubh schaubh requested a review from patkenneally May 7, 2024 18:17
@schaubh schaubh self-assigned this May 7, 2024
@schaubh schaubh requested a review from a team as a code owner May 7, 2024 18:17
@schaubh schaubh force-pushed the feature/target-use-math-macros-from-cmake branch from b1e3c4d to 333e734 Compare May 13, 2024 20:47
@schaubh schaubh force-pushed the feature/target-use-math-macros-from-cmake branch from 333e734 to c4a7301 Compare May 13, 2024 21:30
@schaubh schaubh merged commit 718730f into develop May 13, 2024
2 checks passed
@schaubh schaubh deleted the feature/target-use-math-macros-from-cmake branch May 13, 2024 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build system or compilation enhancement
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants