embeddedLibrary/CMakeLists.txt
mrheltic 00d4a5937d Init commit
- Moved compilation to cmake
- Added library

- TODO: testing std_dev logic
2024-11-20 00:50:35 +01:00

13 lines
306 B
CMake

cmake_minimum_required(VERSION 3.10)
# Set the project name
project(EmbeddedLibraryProject)
# Add the executable
add_executable(main main.c)
# Add the libraries
add_library(dataAcquisition libraries/dataAcquisition.c)
# Link the libraries to the executable
target_link_libraries(main dataAcquisition m)