Commit be14e850 authored by Erwan Croze's avatar Erwan Croze 👋🏻

Feature/add vs15 to windows env

parent 627db103
@if "%1" == "15" goto vs15
@if "%1" == "14" goto vs14
@if "%1" == "12" goto vs12
@if "%1" == "11" goto vs11
......@@ -6,6 +7,11 @@
@if "%1" == "9" goto vs9
@goto end
:vs15
:: No more env variable without load VsDevCmd script
@call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat"
@goto printenv
:vs14
@call "%VS140COMNTOOLS%vsvars32.bat"
@goto printenv
......
......@@ -93,6 +93,7 @@ include(builders/CMakeLists.txt)
# linphone
if(WIN32)
lcb_builder_cmake_options(linphone "-DENABLE_RELATIVE_PREFIX=YES")
lcb_builder_extra_ldflags(linphone "/SAFESEH:NO")
else()
lcb_builder_cmake_options(linphone "-DENABLE_RELATIVE_PREFIX=${ENABLE_RELATIVE_PREFIX}")
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment