Skip to content
Snippets Groups Projects
Select Git revision
  • bfcf293fdf8b74f5465b4ca20e7f587797b8b8c3
  • main default protected
2 results

README.md

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)