Closed JoshuaSBrown closed 1 year ago
The goal of this pr is to move as much of the build steps as can be moved into the CMake side of things. The other goal was to better separate installation of "services" from the actual "servers". This pr still needs a lot of work.
Ultimately we should be able to pick and build a specific target without having to build or install any of the other targets.
@dvstans I think this addressed what you wanted. Please take a look and make sure. If so I'll clean it up. You should now have the ability to install individual servers, libraries and services using individual targets.
cmake --build build --target install-core-server
cmake --build build --target install-core-service
cmake --build build --target install-repo-server
cmake --build build --target install-repo-service
cmake --build build --target install-authz
cmake --build build --target install-web-server
cmake --build build --target install-web-service
If there are a few more additional targets you think would be useful to define let me know though I don't want to spend too much more time on this given there are other more pressing priorities.
NOTES after meeting the following changes need to be made:
./DataFed/scripts/generate_datafed.sh – run during build ./DataFed/scripts/generate_core_config.sh – This would should be run during install
Well this was a pain to get sort of working.