first commit - migrated from codeberg
This commit is contained in:
commit
5ead03e1f7
567 changed files with 102721 additions and 0 deletions
44
CMakeLists.txt
Normal file
44
CMakeLists.txt
Normal file
|
@ -0,0 +1,44 @@
|
|||
cmake_minimum_required(VERSION 3.10)
|
||||
project(statistics LANGUAGES CXX)
|
||||
|
||||
# Set C++ standard
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
# Add the source files
|
||||
add_library(
|
||||
statistics
|
||||
SHARED
|
||||
native/statistics/health_analytics.cpp
|
||||
)
|
||||
|
||||
# Include directories
|
||||
target_include_directories(
|
||||
statistics
|
||||
PRIVATE
|
||||
native/statistics
|
||||
)
|
||||
|
||||
# Platform-specific configuration
|
||||
if(WIN32)
|
||||
# Windows-specific settings
|
||||
set_target_properties(
|
||||
statistics
|
||||
PROPERTIES
|
||||
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/windows"
|
||||
)
|
||||
elseif(APPLE)
|
||||
# macOS-specific settings
|
||||
set_target_properties(
|
||||
statistics
|
||||
PROPERTIES
|
||||
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/macos"
|
||||
)
|
||||
else()
|
||||
# Linux-specific settings
|
||||
set_target_properties(
|
||||
statistics
|
||||
PROPERTIES
|
||||
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/linux"
|
||||
)
|
||||
endif()
|
Loading…
Add table
Add a link
Reference in a new issue