Просмотр исходного кода

Introduce ls-std conan dependency

Patrick-Christopher Mattulat 1 неделя назад
Родитель
Сommit
8e0f21e8ab
2 измененных файлов с 19 добавлено и 4 удалено
  1. 18 4
      README.md
  2. 1 0
      conanfile.txt

+ 18 - 4
README.md

@@ -10,6 +10,13 @@ The following prerequisites need to be fulfilled in order to build this game eng
 2. A Conan default profile must exist with the same compiler flags as this project.
 3. Missing Conan dependencies must be installed:
 ```shell
+# For ls-std
+
+conan install . --output-folder=cmake-build-debug --build=missing -o "ls-std/*:shared=True" -s build_type=Debug -s compiler.cppstd=17
+conan install . --output-folder=cmake-build-release --build=missing -o "ls-std/*:shared=True" -s build_type=Release -s compiler.cppstd=17
+
+# For all other dependencies
+
 conan install . --output-folder=cmake-build-debug --build=missing -s build_type=Debug -s compiler.cppstd=17
 conan install . --output-folder=cmake-build-release --build=missing -s build_type=Release -s compiler.cppstd=17
 ```
@@ -19,6 +26,11 @@ conan install . --output-folder=cmake-build-release --build=missing -s build_typ
 -DCMAKE_CONFIGURATION_TYPES=Release -DCMAKE_TOOLCHAIN_FILE=cmake-build-release/conan_toolchain.cmake
 ```
 5. For the CMake Default Toolchain use __Generator__ Visual Studio for each CMake profile.
+6. For ls-std dependency downloag the recipes repository and navigate to the version __conanfile.py__. Then run:
+```shell
+conan create . -o "ls-std/*:shared=True" -s build_type=Debug
+conan create . -o "ls-std/*:shared=True" -s build_type=Release
+```
 
 ## Modules
 
@@ -28,12 +40,14 @@ In Process: It contains the following modules:
 |-----------------------|---------------------------------------------------------------------------------------------------------------------------------------------|
 | ls-atlantis-core      | This module provides functionalities like engine setup, game loop logic and engine run time information.                                    |
 | ls-atlantis-interface | This module provides all interfaces all other engine modules can implement. This would avoid circular dependencies through out the project. |
+| ls-atlantis-window    | This module provides functionalities for window creation and handling.                                                                      |
 
 ## Dependencies
 
 The following table illustrates a list of required dependencies
 
-| Name  | Version | Explanation                                                |
-|-------|---------|------------------------------------------------------------|
-| gtest | 1.17.0  | The Google Test framework for unit- and integration tests. |
-| sdl   | 3.4.8   | The Window API library SDL3.                               |
+| Name   | Version     | Explanation                                                |
+|--------|-------------|------------------------------------------------------------|
+| gtest  | 1.17.0      | The Google Test framework for unit- and integration tests. |
+| ls-std | v2024.1.0.1 | The Lynar Studios C++-Standard library.                    |
+| sdl    | 3.4.8       | The Window API library SDL3.                               |

+ 1 - 0
conanfile.txt

@@ -1,5 +1,6 @@
 [requires]
 gtest/1.17.0
+ls-std/2024.1.0.1
 sdl/3.4.8
 
 [generators]