-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Jakub Głowacki edited this page Jul 30, 2023
·
2 revisions
Archimedes - Game Engine
Archimedes is actually a C++ library. A tested way to link it into your game
is using git submodule
.
First, clone this repo into your directory with dependencies using git submodule
command.
git submodule add 'https://github.com/AGH-Code-Industry/archimedes' <dependencies>/archimedes
Then, you can include it in your CMake project.
...
add_subdirectory(extern/archimedes)
target_link_libraries(${PROJECT_NAME} archimedes)
...
If you have followed Installation section, you should be able to bump archimedes version using
git submodule update --remote
pip install conan
conan profile detect --force
mkdir build
conan install . --output-folder=build --build=missing -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True
cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release
cmake --build .
If you have followed Compiling section, you should be able run tests
cd build
./test_archimedes
- archimedes
- CMakeLists.txt
- README.md
- LICENSE.md
- extern
- ... <zależności, które postanowimy trzymać razem z projektem np. glad>
- include
- ... <headery .h projektu>
- src
- ... <pliki źródłowe .cpp projektu>
- tests
- ... <pliki źródłowe testów jednostkowych>