diff --git a/.gitignore b/.gitignore index 7bb8834..38c5e5a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /submodules/ +/build/ diff --git a/CMakeLists.txt b/CMakeLists.txt index b8b527a..443cfde 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,5 +6,5 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17") aux_source_directory(3rdparty/libmodbus DIRSRCS) include_directories(3rdparty/libmodbus include) -set(SOURCE_FILES tests/main.cpp src/modbusadapter.cpp) +set(SOURCE_FILES tests/main.cpp) add_executable(main ${SOURCE_FILES} ${DIRSRCS})