feat(linear-static-3d-euler-beam): step 7 - cmake-test-foundation
This commit is contained in:
@@ -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>
|
||||
)
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user