mirror of
https://github.com/blackboxprogramming/BlackRoad-Operating-System.git
synced 2026-03-18 04:33:59 -05:00
Create comprehensive research-lab pack structure with mathematical and quantum computing modules from blackroad-prism-console: Math Modules: - hilbert_core.py: Hilbert space symbolic reasoning - collatz/: Distributed Collatz conjecture verification - linmath/: Linear mathematics C library - lucidia_math_forge/: Symbolic proof engine - lucidia_math_lab/: Experimental mathematics Quantum Modules: - lucidia_quantum/: Quantum core - quantum_engine/: Circuit simulation Experiments: - br_math/: Gödel gap, quantum experiments Includes pack.yaml manifest and comprehensive README. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
20 lines
971 B
CMake
20 lines
971 B
CMake
cmake_minimum_required(VERSION 3.15)
|
|
project(linmath-header C)
|
|
add_library(linmath INTERFACE)
|
|
target_include_directories(linmath INTERFACE $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>
|
|
$<INSTALL_INTERFACE:include>)
|
|
include(CTest)
|
|
if (BUILD_TESTING)
|
|
add_executable(linmath_test tests/linmath_test.c)
|
|
target_include_directories(linmath_test PRIVATE include tests)
|
|
add_test(NAME linmath_test COMMAND linmath_test)
|
|
endif()
|
|
install(DIRECTORY include/ DESTINATION include)
|
|
install(TARGETS linmath EXPORT linmathTargets)
|
|
install(EXPORT linmathTargets NAMESPACE linmath:: DESTINATION lib/cmake/linmath)
|
|
include(CMakePackageConfigHelpers)
|
|
write_basic_package_version_file("${CMAKE_CURRENT_BINARY_DIR}/linmathConfigVersion.cmake"
|
|
VERSION 0.1.0 COMPATIBILITY AnyNewerVersion)
|
|
configure_file(packaging/pkgconfig/linmath.pc.in linmath.pc @ONLY)
|
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/linmath.pc" DESTINATION lib/pkgconfig)
|