-
Notifications
You must be signed in to change notification settings - Fork 4
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
[Scripts] Adding Windows scripts #361
Conversation
The missing option was the cmake -H"." -B"build" -DCO_SIM_IO_BUILD_C=ON -DCO_SIM_IO_BUILD_TESTING=ON -DCO_SIM_IO_BUILD_MPI=OFF -
cmake --build "build" --config Release --target install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some questions
Also, can you please incorporate the comment of Pooyan?
Co-authored-by: Philipp Bucher <philipp.bucher@tum.de>
Co-authored-by: Philipp Bucher <philipp.bucher@tum.de>
It is already added into the build.bat if you take a look |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
last thing, could you please update the docs to point to the new files? Thx |
Okay |
Done |
This PR introduces a set of new build scripts for Windows OS. These scripts are added to the "scripts" directory and serve various purposes. Here's a brief overview of the changes made:
scripts/build.bat
: This script sets up the compiler and various environment variables, then configures and builds the project using CMake. It also includes options to control the build type, enable/disable testing, and build components like C, Python, and Fortran.scripts/build_and_test.bat
: This script is designed to be run from the build directory. It invokes thescripts/build.bat
script with specific options and then runs CTests for testing the project. Afterward, it runs Python tests.scripts/build_c.bat
: This script is used to build the C component of the project by calling thescripts/build.bat
script with appropriate settings.scripts/build_cpp.bat
: This script is used to build the C++ component of the project by calling thescripts/build.bat
script.scripts/build_python.bat
: This script is used to build the Python component of the project by calling thescripts/build.bat
script.In summary, this PR adds new build scripts to the project, making it easier to configure, build, and test different components of the project, such as C, C++, and Python, with various options and settings in the Windows operative system.
Fixes #359 and #360