Skip to content
Snippets Groups Projects
Select Git revision
  • 69d9b71903e3dc423e7952acc0a08e1c0f872d2a
  • 2024ss default
  • 2023ss
  • 2022ss
  • 2021ss protected
5 results

blink-04.c

Blame
  • 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)