Files
openide/native/WinShellIntegration/CMakeLists.txt
Nikita Provotorov 8d8528409c [Codestyle] WinShellIntegration project: refactoring and updated license info.
DLL are built locally.

GitOrigin-RevId: 8eecae2a0f1c8f3b735cf4805a8b6c5ac5e33acd
2021-06-14 06:14:17 +00:00

29 lines
859 B
CMake

# Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
if (NOT WIN32)
message(FATAL_ERROR "This project is intended for Windows only.")
endif()
cmake_minimum_required(VERSION 3.15) # 3.15 is required for the CMP0092 policy
string(TIMESTAMP GENTIME_YEAR "%Y" UTC)
string(TIMESTAMP GENTIME_DAY "%j" UTC)
string(TIMESTAMP GENTIME_HOUR "%H" UTC)
string(TIMESTAMP GENTIME_MINUTE "%M" UTC)
project(WinShellIntegration
VERSION ${GENTIME_YEAR}.${GENTIME_DAY}.${GENTIME_HOUR}.${GENTIME_MINUTE}
LANGUAGES CXX
)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
add_subdirectory("src/winshellintegration")
add_subdirectory("src/winshellintegrationbridge")
#enable_testing()
#add_subdirectory("tests")