build_and_install.sh 670 B

12345678910111213141516171819202122232425
  1. #!/usr/bin/env bash
  2. # TODO: Refactor
  3. pushd ETL
  4. mkdir -p build && pushd build
  5. cmake -GNinja .. -DCMAKE_BUILD_TYPE=RelWithDebInfo
  6. cmake --build . -- all #test
  7. sudo cmake --build . -- install
  8. popd # build
  9. popd # ETL
  10. pushd synfig-core
  11. mkdir -p build && pushd build
  12. cmake -GNinja .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CXX_FLAGS="-fdiagnostics-color"
  13. cmake --build . -- all
  14. sudo cmake --build . -- install
  15. popd # build
  16. popd # synfig-core
  17. pushd synfig-studio
  18. mkdir -p build && pushd build
  19. cmake -GNinja .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CXX_FLAGS="-fdiagnostics-color"
  20. cmake --build . -- all
  21. sudo cmake --build . -- install
  22. popd # build
  23. popd # synfig-studio