Skip to content
Snippets Groups Projects

CMake: modernize App

Merged Wuttke, Joachim requested to merge i135a into main
1 file
+ 2
6
Compare changes
  • Side-by-side
  • Inline
+ 2
6
@@ -9,7 +9,6 @@ else()
endif()
set(source_files main.cpp AppOptions.cpp MessageHandler.cpp)
set(include_files AppOptions.h MessageHandler.h )
# -----------------------------------------------------------------------------
# Qt configuration
@@ -47,11 +46,8 @@ add_executable(${executable_name}
# -----------------------------------------------------------------------------
# dependencies
# -----------------------------------------------------------------------------
target_link_libraries(${executable_name} ${BornAgainGUI_LIBRARY} ${Boost_LIBRARIES})
target_include_directories(${executable_name}
PUBLIC
${CMAKE_SOURCE_DIR}
${Boost_INCLUDE_DIRS})
target_link_libraries(${executable_name} BornAgainGUI ${Boost_LIBRARIES})
target_include_directories(${executable_name} PRIVATE ${CMAKE_SOURCE_DIR})
# -----------------------------------------------------------------------------
# extra target properties
Loading