Init
This commit is contained in:
23
DependentExtensions/Swig/CSharpTestApp/prebuild.bat
Normal file
23
DependentExtensions/Swig/CSharpTestApp/prebuild.bat
Normal file
@ -0,0 +1,23 @@
|
||||
@echo off
|
||||
|
||||
REM Copyright (c) 2018, SLikeSoft UG (haftungsbeschr<68>nkt)
|
||||
REM
|
||||
REM This file is licensed under the MIT-style license found in the license.txt
|
||||
REM file in the root directory of this source tree.
|
||||
|
||||
REM import mandatory parameters
|
||||
set configuration=%~1
|
||||
set platform=%2
|
||||
|
||||
|
||||
REM set required variables
|
||||
set targetDir=bin\x64\%configuration%
|
||||
|
||||
REM convert platform parameter
|
||||
if "%platform%"=="x86" (
|
||||
set platform=Win32
|
||||
set targetDir=bin\x86\%configuration%
|
||||
)
|
||||
|
||||
copy "..\..\..\Lib\SLikeNet_DLL_%configuration%_%platform%.dll" "%targetDir%\SLikeNet.dll"
|
||||
exit %ERRORLEVEL%
|
||||
Reference in New Issue
Block a user