Skip to content

Commit

Permalink
update win64
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleychen committed Mar 11, 2024
1 parent 203436a commit 8648b92
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/script/build_enet_windows.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ set sed="C:\Program Files\Git\usr\bin\sed.exe"
%sed% -i "s/.*VIDEOSDKVERSION.*/static const char * VIDEOSDKVERSION = \"%VIDEO_SDK_VERSION%\";/g" ../iot/link/app_common/app_p2p/appWrapper.h

call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat"
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars32.bat"
cmake -DCMAKE_BUILD_TYPE=Release -DENET_NO_STATIC_BINARY=ON -DWITH_DHT=OFF -DBUILD_WITH_FS=ON -DWITH_ZIP=OFF -DENET_VERSION=lts_1.3 -G"Visual Studio 16 2019" -Tv142 -AWin32 ..
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
cmake -DCMAKE_BUILD_TYPE=Release -DENET_NO_STATIC_BINARY=ON -DWITH_DHT=OFF -DBUILD_WITH_FS=ON -DWITH_ZIP=OFF -DENET_VERSION=lts_1.3 -G"Visual Studio 16 2019" -Tv142 -Ax64 ..
echo ================end-1======================
cmake --build . --config Release
echo ================end-2======================
Expand All @@ -66,7 +66,7 @@ cp -r ../app_common/utils app_interface/utils
mkdir build
cd build

cmake .. -DCOMPILE_SYSTEM=windows -DSYSTEM_ARCH=x86 -DCOMPILE_TYPE=Release -DCMAKE_BUILD_TYPE=Release -G"Visual Studio 16 2019" -Tv142 -AWin32 ..
cmake .. -DCOMPILE_SYSTEM=windows -DSYSTEM_ARCH=x64 -DCOMPILE_TYPE=Release -DCMAKE_BUILD_TYPE=Release -G"Visual Studio 16 2019" -Tv142 -Ax64 ..
cmake --build . --config Release

ls -l ../p2p_sample/

0 comments on commit 8648b92

Please sign in to comment.