Skip to content
Snippets Groups Projects
Commit 7db256f0 authored by elenziat's avatar elenziat
Browse files

cleanup CMakeLists.txt (remove unused library "common")

parent f6c638d9
No related branches found
No related tags found
No related merge requests found
...@@ -6,13 +6,11 @@ set(CMAKE_C_STANDARD_REQUIRED ON) ...@@ -6,13 +6,11 @@ set(CMAKE_C_STANDARD_REQUIRED ON)
set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_STANDARD_REQUIRED ON)
add_library(common OBJECT add_executable(Uebung0
src/main.c
src/controller.c src/controller.c
src/controller.h) src/controller.h
)
add_executable(Uebung0 src/main.c
src/controller.c
src/controller.h)
# Fetch GoogleTest # Fetch GoogleTest
Include(FetchContent) Include(FetchContent)
...@@ -28,7 +26,8 @@ enable_testing() ...@@ -28,7 +26,8 @@ enable_testing()
add_executable(test_controller add_executable(test_controller
$<TARGET_OBJECTS:common> src/controller.c
src/controller.h
src/controller.test.cpp src/controller.test.cpp
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment