mirror of https://github.com/microsoft/vcpkg.git
Drop support with osx, add system-related definitions
This commit is contained in:
parent
12f16cac36
commit
c7ba8be6d8
|
|
@ -84,6 +84,12 @@ add_library(Vlpp STATIC ${CORE_SRCS})
|
|||
target_compile_definitions(Vlpp PRIVATE UNICODE)
|
||||
target_compile_definitions(Vlpp PRIVATE _UNICODE)
|
||||
|
||||
if (MSVC)
|
||||
target_compile_definitions(Vlpp PUBLIC VCZH_MSVC)
|
||||
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
target_compile_definitions(Vlpp PUBLIC VCZH_GCC)
|
||||
endif()
|
||||
|
||||
if (EXTRA_DEFINES)
|
||||
target_compile_definitions(Vlpp PUBLIC ${EXTRA_DEFINES})
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
"description": "Common C++ construction, including string operation / generic container / linq / General-LR parser generator / multithreading / reflection for C++ / etc",
|
||||
"homepage": "https://github.com/vczh-libraries/Release",
|
||||
"license": null,
|
||||
"supports": "!uwp",
|
||||
"supports": "!(uwp | osx)",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
|
|
|
|||
Loading…
Reference in New Issue