Преглед изворни кода

Introduce SDL3 conan dependency

Patrick-Christopher Mattulat пре 1 недеља
родитељ
комит
e6e02ab6f0
3 измењених фајлова са 18 додато и 5 уклоњено
  1. 5 0
      CMakeLists.txt
  2. 12 5
      README.md
  3. 1 0
      conanfile.txt

+ 5 - 0
CMakeLists.txt

@@ -25,6 +25,7 @@ include_directories(${CMAKE_CURRENT_LIST_DIR}/include)
 ################################
 
 find_package(GTest REQUIRED)
+find_package(SDL3 REQUIRED)
 
 ################################################################
 ################################################################
@@ -94,3 +95,7 @@ set(ATLANTIS_INTERFACE_SOURCES
 ################################
 
 add_library(${MODULE_NAME_INTERFACE} SHARED ${ATLANTIS_INTERFACE_SOURCES})
+
+#target_link_libraries(${MODULE_NAME_INTERFACE} PUBLIC
+#    SDL3::SDL3
+#)

+ 12 - 5
README.md

@@ -24,9 +24,16 @@ conan install . --output-folder=cmake-build-release --build=missing -s build_typ
 
 In Process: It contains the following modules:
 
-| Name                  | Description                                                                                              |
-|-----------------------|----------------------------------------------------------------------------------------------------------|
-| ls-atlantis-input     | This module provides all functionalities for input devices.                                              |
-| ls-atlantis-logic     | This module provides functionalities like engine setup, game loop logic and engine run time information. |
-| ls-atlantis-rendering | This module provides all rendering functionalities.                                                      |
+| Name                  | Description                                                                                                                                 |
+|-----------------------|---------------------------------------------------------------------------------------------------------------------------------------------|
+| 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. |
 
+## 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.                               |

+ 1 - 0
conanfile.txt

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