forked from powertab/powertabeditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
41 lines (33 loc) · 907 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
cmake_minimum_required( VERSION 3.12 )
# Target OS X 10.15 and above. This must be set before the first project() call.
set( CMAKE_OSX_DEPLOYMENT_TARGET "10.15"
CACHE STRING "Minimum OS X deployment version"
)
project( powertabeditor )
include( CTest )
# Allow using BOOST_ROOT.
if ( POLICY CMP0074 )
cmake_policy( SET CMP0074 NEW )
endif ()
set( CMAKE_MODULE_PATH
${CMAKE_SOURCE_DIR}/cmake
${CMAKE_SOURCE_DIR}/cmake/third_party/modules
)
set( PTE_VERSION 2.0.0-alpha16 )
include( PTE_Platform )
include( PTE_CompilerFlags )
include( PTE_Paths )
include( PTE_ThirdParty )
include( PTE_CopyFiles )
include( PTE_PrecompiledHeader )
include( PTE_Executable )
include( PTE_Library )
add_subdirectory( source )
add_subdirectory( installer )
add_subdirectory( translations )
if ( PLATFORM_LINUX )
add_subdirectory(xdg)
endif ()
if ( BUILD_TESTING )
add_subdirectory( test )
endif ()