feat: add domain model foundation

This commit is contained in:
김경종
2026-06-08 16:40:04 +09:00
parent e4e2f57808
commit fdeac602f4
38 changed files with 2685 additions and 5 deletions
+33
View File
@@ -0,0 +1,33 @@
cmake_minimum_required(VERSION 3.20)
project(FESA LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
add_library(fesa_core STATIC
src/core/Domain.cpp
)
target_include_directories(fesa_core PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/include
)
enable_testing()
add_executable(fesa_domain_tests
tests/core/boundary_condition_test.cpp
tests/core/domain_bootstrap_test.cpp
tests/core/domain_storage_test.cpp
tests/core/element_definition_test.cpp
tests/core/load_definition_test.cpp
tests/core/material_definition_test.cpp
tests/core/model_types_test.cpp
tests/core/node_test.cpp
tests/core/property_definition_test.cpp
tests/core/step_definition_test.cpp
)
target_link_libraries(fesa_domain_tests PRIVATE fesa_core)
add_test(NAME domain.bootstrap COMMAND fesa_domain_tests)
set_tests_properties(domain.bootstrap PROPERTIES LABELS "domain;core")