mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
CMakeLists.txt: Remove SmartTrak import options
Remove SmartTrak import options from Subsurface's CMakeLists,txt, as a first step to keep the importer apart from the main application.
This commit is contained in:
parent
03e771066b
commit
3775f459b5
1 changed files with 0 additions and 21 deletions
|
@ -39,9 +39,6 @@ option(USE_WEBENGINE "Use QWebEngine instead of QWebKit" OFF)
|
||||||
# Options regarding What should we build on subsurface
|
# Options regarding What should we build on subsurface
|
||||||
option(MAKE_TESTS "Make the tests" ON)
|
option(MAKE_TESTS "Make the tests" ON)
|
||||||
|
|
||||||
#Extra features
|
|
||||||
option(SMARTTRAK_IMPORT "enable building SmartTrak divelogs import tool (requires glib2 and libmdb)" OFF)
|
|
||||||
|
|
||||||
SET(SUBSURFACE_TARGET_EXECUTABLE "DesktopExecutable" CACHE STRING "The type of application, DesktopExecutable or MobileExecutable")
|
SET(SUBSURFACE_TARGET_EXECUTABLE "DesktopExecutable" CACHE STRING "The type of application, DesktopExecutable or MobileExecutable")
|
||||||
LIST(APPEND SUBSURFACE_ACCEPTED_EXECUTABLES "DesktopExecutable" "MobileExecutable")
|
LIST(APPEND SUBSURFACE_ACCEPTED_EXECUTABLES "DesktopExecutable" "MobileExecutable")
|
||||||
SET_PROPERTY(CACHE SUBSURFACE_TARGET_EXECUTABLE PROPERTY STRINGS ${SUBSURFACE_ACCEPTED_EXECUTABLES})
|
SET_PROPERTY(CACHE SUBSURFACE_TARGET_EXECUTABLE PROPERTY STRINGS ${SUBSURFACE_ACCEPTED_EXECUTABLES})
|
||||||
|
@ -129,11 +126,6 @@ pkg_config_library(LIBXSLT libxslt REQUIRED)
|
||||||
pkg_config_library(LIBZIP libzip REQUIRED)
|
pkg_config_library(LIBZIP libzip REQUIRED)
|
||||||
pkg_config_library(LIBUSB libusb-1.0 QUIET)
|
pkg_config_library(LIBUSB libusb-1.0 QUIET)
|
||||||
|
|
||||||
if(SMARTTRAK_IMPORT)
|
|
||||||
pkg_config_library(GLIB2 glib-2.0 REQUIRED)
|
|
||||||
pkg_config_library(LIBMDB libmdb REQUIRED)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
include_directories(.
|
include_directories(.
|
||||||
${CMAKE_CURRENT_BINARY_DIR}
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
${CMAKE_BINARY_DIR}
|
${CMAKE_BINARY_DIR}
|
||||||
|
@ -238,10 +230,6 @@ add_subdirectory(core)
|
||||||
add_subdirectory(qt-models)
|
add_subdirectory(qt-models)
|
||||||
add_subdirectory(profile-widget)
|
add_subdirectory(profile-widget)
|
||||||
|
|
||||||
if(SMARTTRAK_IMPORT)
|
|
||||||
add_subdirectory(smtk-import)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if (${SUBSURFACE_TARGET_EXECUTABLE} MATCHES "DesktopExecutable")
|
if (${SUBSURFACE_TARGET_EXECUTABLE} MATCHES "DesktopExecutable")
|
||||||
add_subdirectory(desktop-widgets)
|
add_subdirectory(desktop-widgets)
|
||||||
endif()
|
endif()
|
||||||
|
@ -288,12 +276,6 @@ elseif(${SUBSURFACE_TARGET_EXECUTABLE} MATCHES "DesktopExecutable")
|
||||||
add_executable(${SUBSURFACE_TARGET} MACOSX_BUNDLE WIN32 ${SUBSURFACE_PKG} ${SUBSURFACE_APP} ${SUBSURFACE_RESOURCES})
|
add_executable(${SUBSURFACE_TARGET} MACOSX_BUNDLE WIN32 ${SUBSURFACE_PKG} ${SUBSURFACE_APP} ${SUBSURFACE_RESOURCES})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(SMARTTRAK_IMPORT)
|
|
||||||
set(SMTK_IMPORT_TARGET smtk2ssrf)
|
|
||||||
add_executable(smtk2ssrf smtk-import/smtk_standalone.cpp ${SUBSURFACE_RESOURCES})
|
|
||||||
target_link_libraries(smtk2ssrf smtk_import)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(FBSUPPORT)
|
if(FBSUPPORT)
|
||||||
set(FACEBOOK_INTEGRATION facebook_integration)
|
set(FACEBOOK_INTEGRATION facebook_integration)
|
||||||
endif()
|
endif()
|
||||||
|
@ -475,9 +457,6 @@ elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||||
install(DIRECTORY printing_templates DESTINATION share/subsurface)
|
install(DIRECTORY printing_templates DESTINATION share/subsurface)
|
||||||
install(FILES ${TRANSLATIONS} DESTINATION share/subsurface/translations)
|
install(FILES ${TRANSLATIONS} DESTINATION share/subsurface/translations)
|
||||||
install(TARGETS ${SUBSURFACE_TARGET} DESTINATION bin)
|
install(TARGETS ${SUBSURFACE_TARGET} DESTINATION bin)
|
||||||
if (SMARTTRAK_IMPORT)
|
|
||||||
install(TARGETS ${SMTK_IMPORT_TARGET} DESTINATION bin)
|
|
||||||
endif()
|
|
||||||
if(DEFINED LIBMARBLEDEVEL)
|
if(DEFINED LIBMARBLEDEVEL)
|
||||||
install(
|
install(
|
||||||
CODE "file(GLOB SSRFMARBLE_SHLIBS \"${LIBMARBLEDEVEL}/lib/libssrfmarblewidget.so*\")"
|
CODE "file(GLOB SSRFMARBLE_SHLIBS \"${LIBMARBLEDEVEL}/lib/libssrfmarblewidget.so*\")"
|
||||||
|
|
Loading…
Reference in a new issue