mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-05 10:12:46 +00:00
Merge branch 'master' into qtquick
This commit is contained in:
commit
96e19548d7
585 changed files with 108386 additions and 1352 deletions
|
@ -4,23 +4,24 @@ set (CMAKE_CXX_STANDARD 17)
|
|||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
cmake_policy(SET CMP0048 NEW)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
# Options
|
||||
option(SAILFISHOS "Build SailfishOS version of application")
|
||||
option(PLATFORM_QTQUICK "Build QtQuick version of application")
|
||||
option(PLATFORM_SAILFISHOS "Build SailfishOS version of application" OFF)
|
||||
option(PLATFORM_QTQUICK "Build QtQuick version of application" ON)
|
||||
|
||||
if (NOT SAILFIN_VERSION)
|
||||
set(SAILFIN_VERSION "1.0.0")
|
||||
endif()
|
||||
|
||||
if(SAILFISHOS)
|
||||
if(PLATFORM_SAILFISHOS)
|
||||
# Hardcode this less?
|
||||
set(CMAKE_INSTALL_LIBDIR "${CMAKE_INSTALL_PREFIX}/share/harbour-sailfin/lib")
|
||||
endif()
|
||||
|
||||
add_subdirectory(core)
|
||||
if(SAILFISHOS)
|
||||
if(PLATFORM_SAILFISHOS)
|
||||
add_subdirectory(sailfish)
|
||||
else()
|
||||
elseif(PLATFORM_QTQUICK)
|
||||
add_subdirectory(qtquick)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue