Commit 4f65aaf4 authored by Laurent Montel's avatar Laurent Montel 😁

Move in src directory

parent 406b3190
project(mboximporter)
add_definitions( -DQT_NO_CAST_FROM_ASCII )
add_definitions( -DQT_NO_CAST_TO_ASCII )
set(mboximporter_SRCS
main.cpp
mboxmainwindow.cpp
mboximporterinfogui.cpp
mboximportwidget.cpp
mboximportkernel.cpp
)
ki18n_wrap_ui(mboximporter_SRCS
ui/mboximportwidget.ui
)
add_executable(mboximporter ${mboximporter_SRCS})
target_link_libraries(mboximporter
PRIVATE
KF5::AkonadiCore
KF5::IdentityManagement
KF5::MailImporter
KF5::MailCommon
KF5::Completion
KF5::I18n
)
install(TARGETS mboximporter ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
install(PROGRAMS org.kde.mboximporter.desktop DESTINATION ${KDE_INSTALL_APPDIR})
if ("${CMAKE_BINARY_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
endif()
add_subdirectory(src)
project(mboximporter)
add_definitions( -DQT_NO_CAST_FROM_ASCII )
add_definitions( -DQT_NO_CAST_TO_ASCII )
set(mboximporter_SRCS
main.cpp
mboxmainwindow.cpp
mboximporterinfogui.cpp
mboximportwidget.cpp
mboximportkernel.cpp
)
ki18n_wrap_ui(mboximporter_SRCS
ui/mboximportwidget.ui
)
add_executable(mboximporter ${mboximporter_SRCS})
target_link_libraries(mboximporter
PRIVATE
KF5::AkonadiCore
KF5::IdentityManagement
KF5::MailImporter
KF5::MailCommon
KF5::Completion
KF5::I18n
)
install(TARGETS mboximporter ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
install(PROGRAMS org.kde.mboximporter.desktop DESTINATION ${KDE_INSTALL_APPDIR})
if ("${CMAKE_BINARY_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
endif()
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