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

Extending the cmake-based Current build. #966

Merged
merged 15 commits into from
Mar 10, 2024

Conversation

dkorolev
Copy link
Member

@dkorolev dkorolev commented Mar 5, 2024

Hi @mzhurovich !

  • Extended curent_build.h to be auto-updated by each cmake-based build.
  • #define-d C5T_CMAKE_PROJECT when built under cmake.

Keeping my inner nerd happy one commit at a time.

PS: As with the last cmake-related change, I've temporarily pointed the test script to my branch. Will flip back once this is merged.

@dkorolev dkorolev self-assigned this Mar 5, 2024
@dkorolev
Copy link
Member Author

dkorolev commented Mar 5, 2024

Note to self. Local test run command:

rm -rf current_test_cmake/
mkdir -p current_test_cmake/a/b/c/d/e/f
(cd current_test_cmake/a/b/c/d/e/f; wget https://raw.githubusercontent.com/dkorolev/Current/current_build_autogen_header_for_cmake/cmake/Makefile)
(cd current_test_cmake/a/b/c/d/e/f; wget https://raw.githubusercontent.com/dkorolev/Current/current_build_autogen_header_for_cmake/cmake/CMakeLists.txt)
(cd current_test_cmake/a/b/c/d/e/f; wget https://raw.githubusercontent.com/dkorolev/Current/current_build_autogen_header_for_cmake/cmake/run-cmake-test.sh)
(cd current_test_cmake/a/b/c/d/e/f; chmod +x run-cmake-test.sh; ./run-cmake-test.sh)

@dkorolev
Copy link
Member Author

dkorolev commented Mar 5, 2024

TODO(dkorolev): Try this on Windows under Visual Studio too!

@mzhurovich mzhurovich merged commit e5c9807 into C5T:stable Mar 10, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants