Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete Firestore public C++ API #2050

Merged
merged 9 commits into from
Nov 7, 2018
24 changes: 24 additions & 0 deletions cmake/Findfirebase_cpp_sdk.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,30 @@ if(APPLE)
elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
set(FIREBASE_CPP_LIB_DIR ${FIREBASE_CPP_SDK_DIR}/libs/linux/${CMAKE_SYSTEM_PROCESSOR})

elseif(MSVC)
set(MSVC_VS_VERSION VS2015)

# Windows runtime mode, either MD or MT depending on whether you are using
# /MD or /MT. For more information see:
# https://msdn.microsoft.com/en-us/library/2kzt1wy3.aspx
set(MSVC_RUNTIME_MODE MD)

if(${CMAKE_CL_64})
set(MSVC_CPU x64)
else()
set(MSVC_CPU x86)
endif()

if(CMAKE_BUILD_TYPE EQUAL Release)
set(MSVC_CONFIG Release)
else()
set(MSVC_CONFIG Debug)
endif()

set(
FIREBASE_CPP_LIB_DIR
${FIREBASE_CPP_SDK_DIR}/libs/windows/${MSVC_VS_VERSION}/${MSVC_RUNTIME_MODE}/${MSVC_CPU}/${MSVC_CONFIG}
)
wilhuff marked this conversation as resolved.
Show resolved Hide resolved
endif()

find_library(
Expand Down