[CMake] Use conforming name structure for targets and libs

parent ca865a33
......@@ -5,11 +5,11 @@ if(dune-testtools_FOUND)
endif()
add_executable("richards" richards.cc)
dune_target_link_libraries(richards richards-impl ${DUNE_LIBS} spdlog)
dune_target_link_libraries(richards dorie-richards ${DUNE_LIBS} spdlog)
add_executable("transport" transport.cc)
dune_target_link_libraries(transport richards-impl ${DUNE_LIBS} spdlog)
dune_target_link_libraries(transport transport-impl ${DUNE_LIBS} spdlog)
dune_target_link_libraries(transport dorie-richards ${DUNE_LIBS} spdlog)
dune_target_link_libraries(transport dorie-transport ${DUNE_LIBS} spdlog)
add_custom_target("dorie" DEPENDS richards transport)
......
add_library(richards-impl STATIC
add_library(dorie-richards STATIC
sim_yasp_2_1.cc
sim_yasp_2_2.cc
sim_ug_2_1.cc
......@@ -12,7 +12,7 @@ add_library(richards-impl STATIC
sim_ug_3_2.cc
sim_ug_3_3.cc)
target_link_libraries(richards-impl
target_link_libraries(dorie-richards
PUBLIC
spdlog
)
\ No newline at end of file
add_library(transport-impl STATIC
add_library(dorie-transport STATIC
sim_yasp_2_0.cc
sim_yasp_2_1.cc
sim_yasp_2_2.cc
......@@ -17,7 +17,7 @@ add_library(transport-impl STATIC
sim_ug_3_3.cc
)
target_link_libraries(transport-impl
target_link_libraries(dorie-transport
PUBLIC
spdlog
)
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment