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

Move some CMake configs to separate files #2804

Merged
merged 13 commits into from
Jun 6, 2024
Merged

Conversation

oitel
Copy link
Contributor

@oitel oitel commented Jun 4, 2024

No description provided.

@oitel oitel added the full-ci run all steps label Jun 4, 2024
@oitel oitel requested review from Grantim and MaxRayskiy June 4, 2024 12:04
set(CMAKE_CXX_STANDARD ${MR_CXX_STANDARD})
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules")
include(CompilerOptions)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should include(DetectPlatform) be called before this line?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DetectPlatform uses CMAKE_SYSTEM_PLATFORM variable which is unset before the project(MeshLib CXX) declaration.

@oitel oitel marked this pull request as ready for review June 5, 2024 08:44
@oitel oitel merged commit 37712fd into master Jun 6, 2024
36 checks passed
@oitel oitel deleted the feature/cmake_reuse_2 branch June 6, 2024 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
full-ci run all steps
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants