Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
1 | # This is the top-level CMakeLists.txt file for the Clazy project. | 1 | # This is the top-level CMakeLists.txt file for the Clazy project. | ||
---|---|---|---|---|---|
2 | # | 2 | # | ||
3 | # To build the man page from POD, run 'make man' after CMake (assumes perl is available) | 3 | # To build the man page from POD, run 'make man' after CMake (assumes perl is available) | ||
4 | # To install the resulting man page, run 'make install' | 4 | # To install the resulting man page, run 'make install' | ||
5 | # The man page is not available on Windows. | 5 | # The man page is not available on Windows. | ||
6 | # | 6 | # | ||
7 | 7 | | |||
8 | project(clazy) | 8 | project(clazy) | ||
9 | 9 | | |||
10 | cmake_minimum_required(VERSION 3.3) | 10 | cmake_minimum_required(VERSION 3.3) | ||
11 | cmake_policy(SET CMP0074 NEW) | ||||
12 | | ||||
11 | include(FeatureSummary) | 13 | include(FeatureSummary) | ||
12 | include(GenerateExportHeader) | 14 | include(GenerateExportHeader) | ||
13 | include("GNUInstallDirs") | 15 | include("GNUInstallDirs") | ||
14 | 16 | | |||
15 | # Version setup | 17 | # Version setup | ||
16 | set(CLAZY_VERSION_MAJOR "1") | 18 | set(CLAZY_VERSION_MAJOR "1") | ||
17 | set(CLAZY_VERSION_MINOR "6") | 19 | set(CLAZY_VERSION_MINOR "6") | ||
18 | set(CLAZY_VERSION_PATCH "0") | 20 | set(CLAZY_VERSION_PATCH "0") | ||
▲ Show 20 Lines • Show All 240 Lines • Show Last 20 Lines |