mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-10 00:52:11 +01:00
Temporary windows build scripts.
This commit is contained in:
parent
01733460e1
commit
5b99261b30
14
compile_vs.bat
Normal file
14
compile_vs.bat
Normal file
@ -0,0 +1,14 @@
|
||||
@echo off
|
||||
|
||||
if not defined DevEnvDir (
|
||||
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
|
||||
)
|
||||
|
||||
rem debug: /Zi (== -g)
|
||||
|
||||
cl main.cpp ./core/settings.cpp ./core/request.cpp ./core/http_server.cpp ./core/file_cache.cpp ./core/application.cpp ./rdn_application.cpp ./core/theme.cpp ^
|
||||
/Febin/game-vc.exe ^
|
||||
/EHsc /std:c++17 ^
|
||||
/Ilibs ^
|
||||
/link WSock32.lib Ws2_32.lib
|
||||
|
4
compile_win.bat
Normal file
4
compile_win.bat
Normal file
@ -0,0 +1,4 @@
|
||||
g++ -o3 -g main.cpp ./core/settings.cpp ./core/request.cpp ./core/http_server.cpp ./core/file_cache.cpp ./core/application.cpp ./rdn_application.cpp ./core/theme.cpp -o ./bin/server.exe -Ilibs -lWsock32 -lWs2_32 -lpthread -std=c++14
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user