зеркало из https://github.com/microsoft/STL.git
19 строки
577 B
CMake
19 строки
577 B
CMake
# Copyright (c) Microsoft Corporation.
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
cmake_minimum_required(VERSION 3.15)
|
|
project(msvc_standard_libraries_tools LANGUAGES CXX)
|
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
|
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
|
|
|
add_compile_definitions(NOMINMAX UNICODE _UNICODE)
|
|
add_compile_options(/W4 /WX $<$<NOT:$<CONFIG:Debug>>:/Zi> /permissive-)
|
|
|
|
include_directories(inc)
|
|
|
|
add_subdirectory(jobify)
|
|
add_subdirectory(parallelize)
|
|
add_subdirectory(validate)
|