Use the llvm compiler
This commit is contained in:
155
ngrok-c.cbp
155
ngrok-c.cbp
@@ -1,73 +1,82 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||
<CodeBlocks_project_file>
|
||||
<FileVersion major="1" minor="6" />
|
||||
<Project>
|
||||
<Option title="ngrok-c" />
|
||||
<Option pch_mode="2" />
|
||||
<Option compiler="gcc" />
|
||||
<Build>
|
||||
<Target title="Debug">
|
||||
<Option output="bin/Debug/ngrokc" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="obj/Debug/" />
|
||||
<Option type="1" />
|
||||
<Option compiler="gcc" />
|
||||
<Option parameters="-SER[Shost:tunnel.qydev.com,Sport:4443] -AddTun[Type:http,Lhost:127.0.0.1,Lport:80,Sdname:xxdosgo,Hostheader:localhost] " />
|
||||
<Compiler>
|
||||
<Add option="-g" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-ldl" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Release">
|
||||
<Option output="bin/Release/ngrokc" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="obj/Release/" />
|
||||
<Option type="1" />
|
||||
<Option compiler="gcc" />
|
||||
<Option parameters="-SER[Shost:proxy.qqbrowser.cc,Sport,Sport:4443] -AddTun[Type:http,Sdname:jobtest,Lhost:192.168.8.1,Lport:80]" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-m32" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-m32" />
|
||||
<Add library="C:/TDM-GCC-64/x86_64-w64-mingw32/lib32/libws2_32.a" />
|
||||
<Add library="D:/c/ngrok-c/openssl/libcrypto.dll.a" />
|
||||
<Add library="D:/c/ngrok-c/openssl/libssl.dll.a" />
|
||||
</Linker>
|
||||
</Target>
|
||||
</Build>
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-fexceptions" />
|
||||
</Compiler>
|
||||
<Unit filename="bytestool.h" />
|
||||
<Unit filename="cJSON.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="cJSON.h" />
|
||||
<Unit filename="config.h" />
|
||||
<Unit filename="global.cpp" />
|
||||
<Unit filename="global.h" />
|
||||
<Unit filename="main.cpp" />
|
||||
<Unit filename="ngrok.cpp" />
|
||||
<Unit filename="ngrok.h" />
|
||||
<Unit filename="nonblocking.cpp" />
|
||||
<Unit filename="nonblocking.h" />
|
||||
<Unit filename="opensslbio.cpp" />
|
||||
<Unit filename="opensslbio.h" />
|
||||
<Unit filename="openssldl.cpp" />
|
||||
<Unit filename="openssldl.h" />
|
||||
<Unit filename="polarsslbio.cpp" />
|
||||
<Unit filename="polarsslbio.h" />
|
||||
<Unit filename="sendmsg.cpp" />
|
||||
<Unit filename="sendmsg.h" />
|
||||
<Unit filename="sslbio.h" />
|
||||
<Extensions>
|
||||
<code_completion />
|
||||
<debugger />
|
||||
<envvars />
|
||||
</Extensions>
|
||||
</Project>
|
||||
</CodeBlocks_project_file>
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||
<CodeBlocks_project_file>
|
||||
<FileVersion major="1" minor="6" />
|
||||
<Project>
|
||||
<Option title="ngrok-c" />
|
||||
<Option pch_mode="2" />
|
||||
<Option compiler="gcc" />
|
||||
<Build>
|
||||
<Target title="Debug">
|
||||
<Option output="bin/Debug/ngrokc" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="obj/Debug/" />
|
||||
<Option type="1" />
|
||||
<Option compiler="gcc" />
|
||||
<Option parameters="-SER[Shost:tunnel.qydev.com,Sport:4443] -AddTun[Type:http,Lhost:127.0.0.1,Lport:80,Sdname:xxdosgo,Hostheader:localhost] " />
|
||||
<Compiler>
|
||||
<Add option="-m32" />
|
||||
<Add option="-g" />
|
||||
<Add option="-DOPENSSL=1 -DOPENSSLDL=1" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-static" />
|
||||
<Add option="-m32" />
|
||||
<Add library="C:/llvm-mingw/i686-w64-mingw32/lib/libws2_32.a" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Release">
|
||||
<Option output="bin/Release/ngrokc" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="obj/Release/" />
|
||||
<Option type="1" />
|
||||
<Option compiler="gcc" />
|
||||
<Option parameters="-SER[Shost:proxy.qqbrowser.cc,Sport,Sport:4443] -AddTun[Type:http,Sdname:jobtest,Lhost:192.168.8.1,Lport:80]" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-m32" />
|
||||
<Add option="-DOPENSSL=1 -DOPENSSLDL=1" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-static" />
|
||||
<Add option="-m32" />
|
||||
<Add library="C:/llvm-mingw/x86_64-w64-mingw32/lib/libws2_32.a" />
|
||||
<Add library="C:/llvm-mingw/i686-w64-mingw32/lib/libws2_32.a" />
|
||||
</Linker>
|
||||
</Target>
|
||||
</Build>
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-fexceptions" />
|
||||
</Compiler>
|
||||
<Unit filename="base64.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="base64.h" />
|
||||
<Unit filename="bytestool.h" />
|
||||
<Unit filename="cJSON.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="cJSON.h" />
|
||||
<Unit filename="config.h" />
|
||||
<Unit filename="global.cpp" />
|
||||
<Unit filename="global.h" />
|
||||
<Unit filename="main.cpp" />
|
||||
<Unit filename="ngrok.cpp" />
|
||||
<Unit filename="ngrok.h" />
|
||||
<Unit filename="nonblocking.cpp" />
|
||||
<Unit filename="nonblocking.h" />
|
||||
<Unit filename="opensslbio.cpp" />
|
||||
<Unit filename="opensslbio.h" />
|
||||
<Unit filename="openssldl.cpp" />
|
||||
<Unit filename="openssldl.h" />
|
||||
<Unit filename="param.cpp" />
|
||||
<Unit filename="param.h" />
|
||||
<Unit filename="polarsslbio.cpp" />
|
||||
<Unit filename="polarsslbio.h" />
|
||||
<Unit filename="sendmsg.cpp" />
|
||||
<Unit filename="sendmsg.h" />
|
||||
<Unit filename="sslbio.h" />
|
||||
<Unit filename="udp.cpp" />
|
||||
<Unit filename="udp.h" />
|
||||
<Extensions />
|
||||
</Project>
|
||||
</CodeBlocks_project_file>
|
||||
|
||||
126
ngrok-c.layout
126
ngrok-c.layout
@@ -2,64 +2,19 @@
|
||||
<CodeBlocks_layout_file>
|
||||
<FileVersion major="1" minor="0" />
|
||||
<ActiveTarget name="Debug" />
|
||||
<File name="openssldl.h" open="1" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<File name="ngrok.h" open="1" top="0" tabpos="12" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="4342" topLine="46" />
|
||||
<Cursor1 position="718" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="global.h" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<File name="global.h" open="1" top="0" tabpos="10" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="883" topLine="0" />
|
||||
<Cursor1 position="883" topLine="26" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="sslbio.h" open="1" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<File name="polarsslbio.cpp" open="1" top="0" tabpos="15" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="106" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="polarsslbio.h" open="1" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="817" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="openssldl.cpp" open="1" top="0" tabpos="8" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="3752" topLine="83" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="opensslbio.h" open="1" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="1504" topLine="29" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="opensslbio.cpp" open="0" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="1162" topLine="24" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="polarsslbio.cpp" open="0" top="0" tabpos="7" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="86" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="sendmsg.h" open="0" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="825" topLine="35" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="cJSON.c" open="0" top="0" tabpos="11" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="0" topLine="36" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="bytestool.h" open="0" top="0" tabpos="10" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="1694" topLine="16" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="global.cpp" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="88" topLine="0" />
|
||||
<Cursor1 position="86" topLine="21" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="cJSON.h" open="0" top="0" tabpos="11" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
@@ -67,34 +22,44 @@
|
||||
<Cursor1 position="0" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="ngrok.cpp" open="0" top="0" tabpos="6" split="0" active="1" splitpos="0" zoom_1="-1" zoom_2="0">
|
||||
<File name="opensslbio.cpp" open="1" top="0" tabpos="14" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="8980" topLine="249" />
|
||||
<Cursor1 position="1162" topLine="24" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="main.cpp" open="0" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<File name="opensslbio.h" open="1" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="7197" topLine="240" />
|
||||
<Cursor1 position="126" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="ngrok.h" open="0" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<File name="sendmsg.h" open="1" top="0" tabpos="11" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="811" topLine="0" />
|
||||
<Cursor1 position="825" topLine="19" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="nonblocking.cpp" open="0" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<File name="global.cpp" open="1" top="0" tabpos="13" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="764" topLine="21" />
|
||||
<Cursor1 position="88" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="nonblocking.h" open="1" top="0" tabpos="7" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<File name="main.cpp" open="1" top="0" tabpos="9" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="2737" topLine="44" />
|
||||
<Cursor1 position="3178" topLine="124" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="sendmsg.cpp" open="1" top="1" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<File name="openssldl.cpp" open="1" top="0" tabpos="8" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="1071" topLine="20" />
|
||||
<Cursor1 position="3752" topLine="94" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="cJSON.c" open="0" top="0" tabpos="11" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="0" topLine="36" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="openssldl.h" open="1" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="4342" topLine="46" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="config.h" open="1" top="0" tabpos="6" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
@@ -102,4 +67,39 @@
|
||||
<Cursor1 position="130" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="nonblocking.cpp" open="0" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="764" topLine="21" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="sslbio.h" open="1" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="106" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="sendmsg.cpp" open="1" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="1071" topLine="11" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="polarsslbio.h" open="1" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="817" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="bytestool.h" open="0" top="0" tabpos="10" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="1694" topLine="16" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="ngrok.cpp" open="0" top="0" tabpos="6" split="0" active="1" splitpos="0" zoom_1="-1" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="8980" topLine="249" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="nonblocking.h" open="1" top="1" tabpos="7" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="1692" topLine="68" />
|
||||
</Cursor>
|
||||
</File>
|
||||
</CodeBlocks_layout_file>
|
||||
|
||||
Reference in New Issue
Block a user