Select Git revision
CMakeLists.txt
CMakeLists.txt 550 B
cmake_minimum_required(VERSION 3.6)
project(SmartGridModell)
set(CMAKEW_CXX_STANDARD 17)
# Add spdlog for nice and easy logging
add_subdirectory(libs/spdlog)
include_directories(src)
# Test application to manually send commands to the Arduino
add_executable(manual_control src/manual_control/ComTest.cpp)
target_link_libraries(manual_control spdlog)
# Smart Grid Simulation
include_directories(src/i2c)
add_executable(smart_grid.exe
src/main.cpp
src/SmartGridModell.cpp
src/i2c/Node.cpp)
target_link_libraries(smart_grid.exe spdlog)