chore: remove entt as dependency
This commit is contained in:
parent
b179149597
commit
0c35c13ac1
6 changed files with 5 additions and 10 deletions
|
@ -6,7 +6,6 @@ set(CMAKE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/tools/cmake)
|
||||||
include(CheckCXXSourceCompiles)
|
include(CheckCXXSourceCompiles)
|
||||||
include(${CMAKE_DIR}/functions.cmake)
|
include(${CMAKE_DIR}/functions.cmake)
|
||||||
include(${CMAKE_DIR}/definitions.cmake)
|
include(${CMAKE_DIR}/definitions.cmake)
|
||||||
include(${CMAKE_DIR}/dependencies.cmake)
|
|
||||||
|
|
||||||
add_option(ENABLE_UNIT_TESTS "Enables the building of the unit test modules")
|
add_option(ENABLE_UNIT_TESTS "Enables the building of the unit test modules")
|
||||||
add_option(ENABLE_FUZZ_TESTS "Enables the building of the fuzz test modules")
|
add_option(ENABLE_FUZZ_TESTS "Enables the building of the fuzz test modules")
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
from conan import ConanFile
|
from conan import ConanFile
|
||||||
from conan.tools.cmake import CMakeToolchain, CMake, cmake_layout
|
from conan.tools.cmake import CMakeToolchain, CMake, cmake_layout
|
||||||
import shutil
|
|
||||||
import os
|
|
||||||
import git
|
import git
|
||||||
|
|
||||||
class LightRecipe(ConanFile):
|
class LightRecipe(ConanFile):
|
||||||
|
@ -28,9 +26,6 @@ class LightRecipe(ConanFile):
|
||||||
"export_compile_commands": True,
|
"export_compile_commands": True,
|
||||||
}
|
}
|
||||||
|
|
||||||
def requirements(self):
|
|
||||||
self.requires("entt/3.15.0")
|
|
||||||
|
|
||||||
def layout(self):
|
def layout(self):
|
||||||
cmake_layout(self)
|
cmake_layout(self)
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,4 @@
|
||||||
add_library_module(ecs entity.cpp scene.cpp uuid.cpp)
|
add_library_module(ecs sparse_set.cpp)
|
||||||
target_link_libraries(ecs PUBLIC logger lt_debug EnTT::EnTT camera math)
|
target_link_libraries(ecs PUBLIC logger lt_debug)
|
||||||
|
|
||||||
|
add_test_module(ecs sparse_set.test.cpp registry.test.cpp)
|
||||||
|
|
|
@ -30,7 +30,6 @@ target_link_libraries(
|
||||||
PUBLIC logger
|
PUBLIC logger
|
||||||
PUBLIC imgui
|
PUBLIC imgui
|
||||||
PUBLIC asset_parser
|
PUBLIC asset_parser
|
||||||
PUBLIC EnTT::EnTT
|
|
||||||
PRIVATE lt_debug
|
PRIVATE lt_debug
|
||||||
PRIVATE window
|
PRIVATE window
|
||||||
PUBLIC vulkan
|
PUBLIC vulkan
|
||||||
|
|
|
@ -10,6 +10,7 @@ endif()
|
||||||
target_link_libraries(surface PUBLIC
|
target_link_libraries(surface PUBLIC
|
||||||
ecs
|
ecs
|
||||||
app
|
app
|
||||||
|
math
|
||||||
PRIVATE
|
PRIVATE
|
||||||
logger
|
logger
|
||||||
lt_debug
|
lt_debug
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
find_package(EnTT REQUIRED)
|
|
Loading…
Add table
Reference in a new issue