Skip to content
Snippets Groups Projects
Select Git revision
  • 5ec4736e454077d1a1f95cc90151a4672774449d
  • master default
  • feature_scripts
  • develop
  • feature_without_logging
  • feature_opc_server
  • feature_seperate_apps
  • fix_raspi_cmake
  • ss19 protected
  • ss20
10 results

CMakeLists.txt

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)