embeddedLibrary/CMakeLists.txt

13 lines
306 B
CMake
Raw Normal View History

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)