-
-
Notifications
You must be signed in to change notification settings - Fork 105
/
CMakeLists.txt
29 lines (25 loc) · 890 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
cmake_minimum_required(VERSION 3.12)
project(
wasistlos
VERSION 1.7.0
DESCRIPTION "An unofficial WhatsApp desktop application for Linux"
HOMEPAGE_URL "https://github.com/xeco23/WasIstLos"
LANGUAGES C CXX
)
include(GNUInstallDirs)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(WIL_NAME ${CMAKE_PROJECT_NAME})
set(WIL_FRIENDLY_NAME "WasIstLos")
set(WIL_DESCRIPTION ${CMAKE_PROJECT_DESCRIPTION})
set(WIL_HOMEPAGE ${CMAKE_PROJECT_HOMEPAGE_URL})
set(WIL_VERSION ${CMAKE_PROJECT_VERSION})
string(TIMESTAMP WIL_BUILD_DATE "%Y-%m-%d")
set(WIL_APP_ID "com.github.xeco23.WasIstLos")
set(WIL_ICON ${WIL_APP_ID})
set(GETTEXT_PACKAGE ${WIL_NAME})
set(WIL_LOCALEDIR "${CMAKE_INSTALL_FULL_LOCALEDIR}")
message(STATUS "${CMAKE_PROJECT_NAME} version: ${WIL_VERSION}")
add_subdirectory(src)
add_subdirectory(resource)
add_subdirectory(po)