feat(linear-static-3d-euler-beam): step 7 - cmake-test-foundation

This commit is contained in:
KOKO\Mimi
2026-08-09 04:45:07 +09:00
parent cbce387a8c
commit db35297c53
8 changed files with 218 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
add_library(
fesa_solver
STATIC
build_info.cpp
)
target_include_directories(
fesa_solver
PUBLIC
"${PROJECT_SOURCE_DIR}/include"
)
# Product warnings are strict without imposing FESA policy on external targets.
target_compile_options(
fesa_solver
PRIVATE
$<$<CXX_COMPILER_ID:MSVC>:/W4 /WX>
)
+10
View File
@@ -0,0 +1,10 @@
#include "fesa/build_info.hpp"
namespace fesa {
std::string_view solverVersion() noexcept {
// Keep this value stable until a reviewed solver release changes the metadata contract.
return "0.1.0";
}
} // namespace fesa