I forgot about the CMakeFile
This commit is contained in:
parent
159d55c2a2
commit
cb8cfd6da8
20
CMakeLists.txt
Normal file
20
CMakeLists.txt
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# Root cmake file sketch (might change it later)
|
||||||
|
# Author: Unai Blazquez
|
||||||
|
# License: GPL-3-or-later
|
||||||
|
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(azkoyen_ipc_test LANGUAGES CXX)
|
||||||
|
|
||||||
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
|
|
||||||
|
# Core library
|
||||||
|
add_library(core
|
||||||
|
src/core/SysfsRead.cxx
|
||||||
|
)
|
||||||
|
|
||||||
|
target_include_directories(core PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
|
||||||
|
|
||||||
|
#tests
|
||||||
|
enable_testing()
|
||||||
|
add_subdirectory(tests)
|
||||||
5
tests/test_sysfs_read.cxx
Normal file
5
tests/test_sysfs_read.cxx
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
|
#include <fstream>
|
||||||
|
|
||||||
|
#include "SysfsRead.hpp"
|
||||||
Loading…
x
Reference in New Issue
Block a user