Implement HwmonTemperatureSensor, add serialization
This commit is contained in:
@@ -5,15 +5,17 @@ project(fantasize)
|
||||
set(CMAKE_BUILD_TYPE Debug)
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
find_package(Boost 1.79.0 COMPONENTS json)
|
||||
|
||||
add_executable(app
|
||||
src/main.cxx
|
||||
src/Nvidia.cxx
|
||||
src/Pwm.cxx
|
||||
src/SensorsWrapper.cxx
|
||||
src/HwmonTemperatureSensor.cxx
|
||||
)
|
||||
|
||||
set_property(TARGET app PROPERTY CXX_STANDARD 17)
|
||||
|
||||
target_include_directories(app PUBLIC include /opt/cuda)
|
||||
target_link_libraries(app PUBLIC sensors nvidia-ml)
|
||||
target_link_libraries(app PUBLIC sensors nvidia-ml ${Boost_LIBRARIES})
|
||||
|
||||
Reference in New Issue
Block a user