From 8b3585b6e83b16737e95ca9ff832b8bc0aa19a8d Mon Sep 17 00:00:00 2001
From: zyppe <210hcl@gmail.com>
Date: Wed, 31 Jul 2024 19:45:33 +0800
Subject: [PATCH] New test change.
---
.gitignore | 28 +++
Lua.props | 49 ------
compile_commands.json | 398 ++++++++++++++++++++++++++++++++++++++++++
compile_flags.txt | 1 +
linux.cmd | 1 -
luasocket.sln | 35 ----
macosx.cmd | 1 -
meson.build | 76 ++++++++
meson_options.txt | 11 ++
mime.vcxproj | 205 ----------------------
mingw.cmd | 1 -
socket.vcxproj | 216 -----------------------
vc32.bat | 3 -
vc64.bat | 3 -
win32.cmd | 1 -
win64.cmd | 1 -
16 files changed, 514 insertions(+), 516 deletions(-)
delete mode 100644 Lua.props
create mode 100644 compile_commands.json
create mode 100644 compile_flags.txt
delete mode 100644 linux.cmd
delete mode 100644 luasocket.sln
delete mode 100644 macosx.cmd
create mode 100644 meson.build
create mode 100644 meson_options.txt
delete mode 100644 mime.vcxproj
delete mode 100644 mingw.cmd
delete mode 100644 socket.vcxproj
delete mode 100644 vc32.bat
delete mode 100644 vc64.bat
delete mode 100644 win32.cmd
delete mode 100644 win64.cmd
diff --git a/.gitignore b/.gitignore
index 9ed661c..207b3ad 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,31 @@ Release
*.suo
x64
+## Personal
+
+# A listing of all the files included in the project
+*.files
+
+# Include directories
+*.includes
+
+# Project configuration settings like predefined Macros
+*.config
+
+# Qt Creator settings
+*.creator
+
+# User project settings
+*.creator.user*
+
+# Qt Creator backups
+*.autosave
+
+# Flags for Clang Code Model
+*.cxxflags
+*.cflags
+
+
+.cache/
+.vscode/
+.qtc_clangd/
diff --git a/Lua.props b/Lua.props
deleted file mode 100644
index d748448..0000000
--- a/Lua.props
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
- $(Platform)/$(Configuration)
-
-
- $(Configuration)
-
-
- 5.3
- z:\data\build\vc14\
- $(LUAPREFIX)\lib\lua\$(LUAV)\$(LUAPLAT)
- $(LUAPREFIX)\bin\lua\$(LUAV)\$(LUAPLAT)
- $(LUAPREFIX)\bin\lua\$(LUAV)\$(LUAPLAT)\lua
- $(LUAPREFIX)\include\lua\$(LUAV);$(LUAPREFIX)\include\lua$(LUAV)
- lua$(LUAV.Replace('.', '')).lib
-
-
- <_PropertySheetDisplayName>Lua
-
-
-
-
- $(LUAPLAT)
-
-
- $(LUAPREFIX)
-
-
- $(LUAV)
-
-
- $(LUALIB)
-
-
- $(LUAINC)
-
-
- $(LUACDIR)
-
-
- $(LUALDIR)
-
-
- $(LUALIBNAME)
-
-
-
diff --git a/compile_commands.json b/compile_commands.json
new file mode 100644
index 0000000..a956c2d
--- /dev/null
+++ b/compile_commands.json
@@ -0,0 +1,398 @@
+[
+ {
+ "arguments": [
+ "/usr/bin/gcc",
+ "-I/usr/include/lua/5.4",
+ "-I/usr/include/lua5.4",
+ "-DLUASOCKET_NODEBUG",
+ "-Wall",
+ "-Wshadow",
+ "-Wextra",
+ "-Wimplicit",
+ "-O2",
+ "-ggdb3",
+ "-fpic",
+ "-c",
+ "-o",
+ "io.o",
+ "io.c"
+ ],
+ "directory": "/home/benjamin/Project/luasocket/src",
+ "file": "/home/benjamin/Project/luasocket/src/io.c",
+ "output": "/home/benjamin/Project/luasocket/src/io.o"
+ },
+ {
+ "arguments": [
+ "/usr/bin/gcc",
+ "-I/usr/include/lua/5.4",
+ "-I/usr/include/lua5.4",
+ "-DLUASOCKET_NODEBUG",
+ "-Wall",
+ "-Wshadow",
+ "-Wextra",
+ "-Wimplicit",
+ "-O2",
+ "-ggdb3",
+ "-fpic",
+ "-c",
+ "-o",
+ "luasocket.o",
+ "luasocket.c"
+ ],
+ "directory": "/home/benjamin/Project/luasocket/src",
+ "file": "/home/benjamin/Project/luasocket/src/luasocket.c",
+ "output": "/home/benjamin/Project/luasocket/src/luasocket.o"
+ },
+ {
+ "arguments": [
+ "/usr/bin/gcc",
+ "-I/usr/include/lua/5.4",
+ "-I/usr/include/lua5.4",
+ "-DLUASOCKET_NODEBUG",
+ "-Wall",
+ "-Wshadow",
+ "-Wextra",
+ "-Wimplicit",
+ "-O2",
+ "-ggdb3",
+ "-fpic",
+ "-c",
+ "-o",
+ "timeout.o",
+ "timeout.c"
+ ],
+ "directory": "/home/benjamin/Project/luasocket/src",
+ "file": "/home/benjamin/Project/luasocket/src/timeout.c",
+ "output": "/home/benjamin/Project/luasocket/src/timeout.o"
+ },
+ {
+ "arguments": [
+ "/usr/bin/gcc",
+ "-I/usr/include/lua/5.4",
+ "-I/usr/include/lua5.4",
+ "-DLUASOCKET_NODEBUG",
+ "-Wall",
+ "-Wshadow",
+ "-Wextra",
+ "-Wimplicit",
+ "-O2",
+ "-ggdb3",
+ "-fpic",
+ "-c",
+ "-o",
+ "buffer.o",
+ "buffer.c"
+ ],
+ "directory": "/home/benjamin/Project/luasocket/src",
+ "file": "/home/benjamin/Project/luasocket/src/buffer.c",
+ "output": "/home/benjamin/Project/luasocket/src/buffer.o"
+ },
+ {
+ "arguments": [
+ "/usr/bin/gcc",
+ "-I/usr/include/lua/5.4",
+ "-I/usr/include/lua5.4",
+ "-DLUASOCKET_NODEBUG",
+ "-Wall",
+ "-Wshadow",
+ "-Wextra",
+ "-Wimplicit",
+ "-O2",
+ "-ggdb3",
+ "-fpic",
+ "-c",
+ "-o",
+ "options.o",
+ "options.c"
+ ],
+ "directory": "/home/benjamin/Project/luasocket/src",
+ "file": "/home/benjamin/Project/luasocket/src/options.c",
+ "output": "/home/benjamin/Project/luasocket/src/options.o"
+ },
+ {
+ "arguments": [
+ "/usr/bin/gcc",
+ "-I/usr/include/lua/5.4",
+ "-I/usr/include/lua5.4",
+ "-DLUASOCKET_NODEBUG",
+ "-Wall",
+ "-Wshadow",
+ "-Wextra",
+ "-Wimplicit",
+ "-O2",
+ "-ggdb3",
+ "-fpic",
+ "-c",
+ "-o",
+ "inet.o",
+ "inet.c"
+ ],
+ "directory": "/home/benjamin/Project/luasocket/src",
+ "file": "/home/benjamin/Project/luasocket/src/inet.c",
+ "output": "/home/benjamin/Project/luasocket/src/inet.o"
+ },
+ {
+ "arguments": [
+ "/usr/bin/gcc",
+ "-I/usr/include/lua/5.4",
+ "-I/usr/include/lua5.4",
+ "-DLUASOCKET_NODEBUG",
+ "-Wall",
+ "-Wshadow",
+ "-Wextra",
+ "-Wimplicit",
+ "-O2",
+ "-ggdb3",
+ "-fpic",
+ "-c",
+ "-o",
+ "auxiliar.o",
+ "auxiliar.c"
+ ],
+ "directory": "/home/benjamin/Project/luasocket/src",
+ "file": "/home/benjamin/Project/luasocket/src/auxiliar.c",
+ "output": "/home/benjamin/Project/luasocket/src/auxiliar.o"
+ },
+ {
+ "arguments": [
+ "/usr/bin/gcc",
+ "-I/usr/include/lua/5.4",
+ "-I/usr/include/lua5.4",
+ "-DLUASOCKET_NODEBUG",
+ "-Wall",
+ "-Wshadow",
+ "-Wextra",
+ "-Wimplicit",
+ "-O2",
+ "-ggdb3",
+ "-fpic",
+ "-c",
+ "-o",
+ "compat.o",
+ "compat.c"
+ ],
+ "directory": "/home/benjamin/Project/luasocket/src",
+ "file": "/home/benjamin/Project/luasocket/src/compat.c",
+ "output": "/home/benjamin/Project/luasocket/src/compat.o"
+ },
+ {
+ "arguments": [
+ "/usr/bin/gcc",
+ "-I/usr/include/lua/5.4",
+ "-I/usr/include/lua5.4",
+ "-DLUASOCKET_NODEBUG",
+ "-Wall",
+ "-Wshadow",
+ "-Wextra",
+ "-Wimplicit",
+ "-O2",
+ "-ggdb3",
+ "-fpic",
+ "-c",
+ "-o",
+ "usocket.o",
+ "usocket.c"
+ ],
+ "directory": "/home/benjamin/Project/luasocket/src",
+ "file": "/home/benjamin/Project/luasocket/src/usocket.c",
+ "output": "/home/benjamin/Project/luasocket/src/usocket.o"
+ },
+ {
+ "arguments": [
+ "/usr/bin/gcc",
+ "-I/usr/include/lua/5.4",
+ "-I/usr/include/lua5.4",
+ "-DLUASOCKET_NODEBUG",
+ "-Wall",
+ "-Wshadow",
+ "-Wextra",
+ "-Wimplicit",
+ "-O2",
+ "-ggdb3",
+ "-fpic",
+ "-c",
+ "-o",
+ "except.o",
+ "except.c"
+ ],
+ "directory": "/home/benjamin/Project/luasocket/src",
+ "file": "/home/benjamin/Project/luasocket/src/except.c",
+ "output": "/home/benjamin/Project/luasocket/src/except.o"
+ },
+ {
+ "arguments": [
+ "/usr/bin/gcc",
+ "-I/usr/include/lua/5.4",
+ "-I/usr/include/lua5.4",
+ "-DLUASOCKET_NODEBUG",
+ "-Wall",
+ "-Wshadow",
+ "-Wextra",
+ "-Wimplicit",
+ "-O2",
+ "-ggdb3",
+ "-fpic",
+ "-c",
+ "-o",
+ "select.o",
+ "select.c"
+ ],
+ "directory": "/home/benjamin/Project/luasocket/src",
+ "file": "/home/benjamin/Project/luasocket/src/select.c",
+ "output": "/home/benjamin/Project/luasocket/src/select.o"
+ },
+ {
+ "arguments": [
+ "/usr/bin/gcc",
+ "-I/usr/include/lua/5.4",
+ "-I/usr/include/lua5.4",
+ "-DLUASOCKET_NODEBUG",
+ "-Wall",
+ "-Wshadow",
+ "-Wextra",
+ "-Wimplicit",
+ "-O2",
+ "-ggdb3",
+ "-fpic",
+ "-c",
+ "-o",
+ "tcp.o",
+ "tcp.c"
+ ],
+ "directory": "/home/benjamin/Project/luasocket/src",
+ "file": "/home/benjamin/Project/luasocket/src/tcp.c",
+ "output": "/home/benjamin/Project/luasocket/src/tcp.o"
+ },
+ {
+ "arguments": [
+ "/usr/bin/gcc",
+ "-I/usr/include/lua/5.4",
+ "-I/usr/include/lua5.4",
+ "-DLUASOCKET_NODEBUG",
+ "-Wall",
+ "-Wshadow",
+ "-Wextra",
+ "-Wimplicit",
+ "-O2",
+ "-ggdb3",
+ "-fpic",
+ "-c",
+ "-o",
+ "udp.o",
+ "udp.c"
+ ],
+ "directory": "/home/benjamin/Project/luasocket/src",
+ "file": "/home/benjamin/Project/luasocket/src/udp.c",
+ "output": "/home/benjamin/Project/luasocket/src/udp.o"
+ },
+ {
+ "arguments": [
+ "/usr/bin/gcc",
+ "-I/usr/include/lua/5.4",
+ "-I/usr/include/lua5.4",
+ "-DLUASOCKET_NODEBUG",
+ "-Wall",
+ "-Wshadow",
+ "-Wextra",
+ "-Wimplicit",
+ "-O2",
+ "-ggdb3",
+ "-fpic",
+ "-c",
+ "-o",
+ "mime.o",
+ "mime.c"
+ ],
+ "directory": "/home/benjamin/Project/luasocket/src",
+ "file": "/home/benjamin/Project/luasocket/src/mime.c",
+ "output": "/home/benjamin/Project/luasocket/src/mime.o"
+ },
+ {
+ "arguments": [
+ "/usr/bin/gcc",
+ "-I/usr/include/lua/5.4",
+ "-I/usr/include/lua5.4",
+ "-DLUASOCKET_NODEBUG",
+ "-Wall",
+ "-Wshadow",
+ "-Wextra",
+ "-Wimplicit",
+ "-O2",
+ "-ggdb3",
+ "-fpic",
+ "-c",
+ "-o",
+ "unixstream.o",
+ "unixstream.c"
+ ],
+ "directory": "/home/benjamin/Project/luasocket/src",
+ "file": "/home/benjamin/Project/luasocket/src/unixstream.c",
+ "output": "/home/benjamin/Project/luasocket/src/unixstream.o"
+ },
+ {
+ "arguments": [
+ "/usr/bin/gcc",
+ "-I/usr/include/lua/5.4",
+ "-I/usr/include/lua5.4",
+ "-DLUASOCKET_NODEBUG",
+ "-Wall",
+ "-Wshadow",
+ "-Wextra",
+ "-Wimplicit",
+ "-O2",
+ "-ggdb3",
+ "-fpic",
+ "-c",
+ "-o",
+ "unixdgram.o",
+ "unixdgram.c"
+ ],
+ "directory": "/home/benjamin/Project/luasocket/src",
+ "file": "/home/benjamin/Project/luasocket/src/unixdgram.c",
+ "output": "/home/benjamin/Project/luasocket/src/unixdgram.o"
+ },
+ {
+ "arguments": [
+ "/usr/bin/gcc",
+ "-I/usr/include/lua/5.4",
+ "-I/usr/include/lua5.4",
+ "-DLUASOCKET_NODEBUG",
+ "-Wall",
+ "-Wshadow",
+ "-Wextra",
+ "-Wimplicit",
+ "-O2",
+ "-ggdb3",
+ "-fpic",
+ "-c",
+ "-o",
+ "unix.o",
+ "unix.c"
+ ],
+ "directory": "/home/benjamin/Project/luasocket/src",
+ "file": "/home/benjamin/Project/luasocket/src/unix.c",
+ "output": "/home/benjamin/Project/luasocket/src/unix.o"
+ },
+ {
+ "arguments": [
+ "/usr/bin/gcc",
+ "-I/usr/include/lua/5.4",
+ "-I/usr/include/lua5.4",
+ "-DLUASOCKET_NODEBUG",
+ "-Wall",
+ "-Wshadow",
+ "-Wextra",
+ "-Wimplicit",
+ "-O2",
+ "-ggdb3",
+ "-fpic",
+ "-c",
+ "-o",
+ "serial.o",
+ "serial.c"
+ ],
+ "directory": "/home/benjamin/Project/luasocket/src",
+ "file": "/home/benjamin/Project/luasocket/src/serial.c",
+ "output": "/home/benjamin/Project/luasocket/src/serial.o"
+ }
+]
diff --git a/compile_flags.txt b/compile_flags.txt
new file mode 100644
index 0000000..47f6ec8
--- /dev/null
+++ b/compile_flags.txt
@@ -0,0 +1 @@
+-I/usr/include/lua5.4
diff --git a/linux.cmd b/linux.cmd
deleted file mode 100644
index 6c6636b..0000000
--- a/linux.cmd
+++ /dev/null
@@ -1 +0,0 @@
-make PLAT=linux DEBUG=DEBUG LUAINC_linux_base=/home/diego/build/ubuntu/include LUAPREFIX_linux=/home/diego/build/ubuntu
diff --git a/luasocket.sln b/luasocket.sln
deleted file mode 100644
index 0e5cdc7..0000000
--- a/luasocket.sln
+++ /dev/null
@@ -1,35 +0,0 @@
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 2012
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "socket", "socket.vcxproj", "{66E3CE14-884D-4AEA-9F20-15A0BEAF8C5A}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mime", "mime.vcxproj", "{128E8BD0-174A-48F0-8771-92B1E8D18713}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Debug|x64 = Debug|x64
- Release|Win32 = Release|Win32
- Release|x64 = Release|x64
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {66E3CE14-884D-4AEA-9F20-15A0BEAF8C5A}.Debug|Win32.ActiveCfg = Debug|Win32
- {66E3CE14-884D-4AEA-9F20-15A0BEAF8C5A}.Debug|Win32.Build.0 = Debug|Win32
- {66E3CE14-884D-4AEA-9F20-15A0BEAF8C5A}.Debug|x64.ActiveCfg = Debug|x64
- {66E3CE14-884D-4AEA-9F20-15A0BEAF8C5A}.Debug|x64.Build.0 = Debug|x64
- {66E3CE14-884D-4AEA-9F20-15A0BEAF8C5A}.Release|Win32.ActiveCfg = Release|Win32
- {66E3CE14-884D-4AEA-9F20-15A0BEAF8C5A}.Release|Win32.Build.0 = Release|Win32
- {66E3CE14-884D-4AEA-9F20-15A0BEAF8C5A}.Release|x64.ActiveCfg = Release|x64
- {66E3CE14-884D-4AEA-9F20-15A0BEAF8C5A}.Release|x64.Build.0 = Release|x64
- {128E8BD0-174A-48F0-8771-92B1E8D18713}.Debug|Win32.ActiveCfg = Debug|Win32
- {128E8BD0-174A-48F0-8771-92B1E8D18713}.Debug|Win32.Build.0 = Debug|Win32
- {128E8BD0-174A-48F0-8771-92B1E8D18713}.Debug|x64.ActiveCfg = Debug|x64
- {128E8BD0-174A-48F0-8771-92B1E8D18713}.Debug|x64.Build.0 = Debug|x64
- {128E8BD0-174A-48F0-8771-92B1E8D18713}.Release|Win32.ActiveCfg = Release|Win32
- {128E8BD0-174A-48F0-8771-92B1E8D18713}.Release|Win32.Build.0 = Release|Win32
- {128E8BD0-174A-48F0-8771-92B1E8D18713}.Release|x64.ActiveCfg = Release|x64
- {128E8BD0-174A-48F0-8771-92B1E8D18713}.Release|x64.Build.0 = Release|x64
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/macosx.cmd b/macosx.cmd
deleted file mode 100644
index dd5d8cf..0000000
--- a/macosx.cmd
+++ /dev/null
@@ -1 +0,0 @@
-make DEBUG=DEBUG PLAT=macosx LUAINC_macosx_base=/Users/$USER/build/macosx/include LUAPREFIX_macosx=/Users/$USER/build/macosx install-both
diff --git a/meson.build b/meson.build
new file mode 100644
index 0000000..3e924a5
--- /dev/null
+++ b/meson.build
@@ -0,0 +1,76 @@
+project('luasocket', ['c'], meson_version: '>=0.56')
+cc=meson.get_compiler('c')
+
+deps_path = get_option('deps_dir')
+deps_libs = [
+ join_paths(meson.project_source_root(), deps_path),
+ join_paths(meson.project_build_root(), deps_path)
+]
+extra_inc = []
+
+luaver = get_option('lua_version')
+
+if luaver == 'luajit'
+ lua_dep = dependency('luajit')
+elif luaver != 'auto' and luaver != 'custom' and luaver != 'vendor'
+ lua_dep = dependency('lua' + luaver, required: false)
+ if not lua_dep.found()
+ lua_dep = dependency('lua-' + luaver, required: false)
+ endif
+ if not lua_dep.found()
+ lua_dep = dependency('lua' + ''.join(luaver.split('.')), required: false)
+ endif
+ if not lua_dep.found()
+ lua_dep = dependency('lua')
+ endif
+ if not lua_dep.version().startswith(luaver)
+ error('required lua version not found (got @0@)'
+ .format(lua_dep.version()))
+ endif
+elif luaver == 'custom'
+ lua_dep = dependency('', required: false)
+elif luaver == 'vendor'
+ lua_dep = dependency('', required: false)
+ extra_inc += include_directories(join_paths(deps_path, 'include'))
+else
+ lua_dep = dependency('lua')
+endif
+
+luaver_maj = '5'
+luaver_num = cc.compute_int(
+ 'LUA_VERSION_NUM',
+ dependencies: lua_dep, include_directories: extra_inc
+)
+luaver_min = luaver_num - 500
+luaver_str = '@0@.@1@'.format(luaver_maj, luaver_min)
+
+if luaver_min < 1
+ error('Lua 5.1 or newer is required')
+endif
+
+# follow what lua does, i.e. .so everywhere except windows
+plugin_suffix = 'so'
+
+if host_machine.system() == 'windows'
+ plugin_suffix = 'dll'
+endif
+
+if host_machine.system() == 'windows'
+ # msys2, etc
+ lua_adep = cc.find_library('lua', dirs: deps_libs, required: false)
+ if not lua_adep.found()
+ # lua 5.1 uses lua5.1.dll/lib
+ lua_adep = cc.find_library(
+ 'lua@0@.@1@'.format(luaver_maj, luaver_min),
+ dirs: deps_libs, required: false
+ )
+ endif
+ if not lua_adep.found()
+ # lua 5.2 onwards uses lua5.2.dll/lib
+ lua_adep = cc.find_library(
+ 'lua@0@@1@'.format(luaver_maj, luaver_min), dirs: deps_libs
+ )
+ endif
+else
+ lua_adep = lua_dep.partial_dependency(compile_args: true, includes: true)
+endif
\ No newline at end of file
diff --git a/meson_options.txt b/meson_options.txt
new file mode 100644
index 0000000..08a04d2
--- /dev/null
+++ b/meson_options.txt
@@ -0,0 +1,11 @@
+option('lua_version',
+ type: 'combo',
+ choices: ['auto', 'luajit', 'custom', 'vendor', '5.1', '5.2', '5.3', '5.4'],
+ description: 'The Lua version to use'
+)
+
+option('deps_dir',
+ type: 'string',
+ value: 'deps',
+ description: 'The name of vendored dependencies directory'
+)
\ No newline at end of file
diff --git a/mime.vcxproj b/mime.vcxproj
deleted file mode 100644
index 575f985..0000000
--- a/mime.vcxproj
+++ /dev/null
@@ -1,205 +0,0 @@
-
-
-
-
- Debug
- Win32
-
-
- Debug
- x64
-
-
- Release
- Win32
-
-
- Release
- x64
-
-
-
-
-
-
-
- {128E8BD0-174A-48F0-8771-92B1E8D18713}
- Win32Proj
-
-
-
- DynamicLibrary
- v141
- MultiByte
-
-
- DynamicLibrary
- v141
- MultiByte
-
-
- DynamicLibrary
- v141
- MultiByte
-
-
- DynamicLibrary
- v141
- MultiByte
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <_ProjectFileVersion>11.0.50727.1
-
-
- $(Configuration)\mime\
- $(Configuration)\
- true
- core
-
-
- true
- core
- $(Platform)\$(Configuration)\mime\
-
-
- $(Configuration)\mime\
- $(Configuration)\
- false
- core
-
-
- false
- $(Platform)\$(Configuration)\mime\
- core
-
-
-
- Disabled
- $(LUAINC);%(AdditionalIncludeDirectories)
- WIN32;_DEBUG;_WINDOWS;_USRDLL;MIME_API=__declspec(dllexport);_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- true
- EnableFastChecks
- MultiThreadedDebugDLL
-
- Level3
- EditAndContinue
- $(IntDir)$(TargetName)$(PlatformToolsetVersion).pdb
-
-
- $(LUALIBNAME);%(AdditionalDependencies)
- $(OutDir)$(TargetName).dll
- $(LUALIB);%(AdditionalLibraryDirectories)
- true
- $(OutDir)mime.pdb
- Windows
- false
-
- $(OutDir)$(TargetName).lib
- MachineX86
- false
-
-
-
-
- Disabled
- $(LUAINC);%(AdditionalIncludeDirectories)
- WIN32;_DEBUG;_WINDOWS;_USRDLL;MIME_API=__declspec(dllexport);_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- EnableFastChecks
- MultiThreadedDebugDLL
-
-
- Level3
- ProgramDatabase
- $(IntDir)$(TargetName)$(PlatformToolsetVersion).pdb
-
-
- $(LUALIBNAME);%(AdditionalDependencies)
- $(OutDir)$(TargetName).dll
- $(LUALIB);%(AdditionalLibraryDirectories)
- true
- $(OutDir)mime.pdb
- Windows
- false
-
-
- $(OutDir)$(TargetName).lib
-
-
-
-
- $(LUAINC);%(AdditionalIncludeDirectories)
- WIN32;NDEBUG;_WINDOWS;_USRDLL;MIME_API=__declspec(dllexport);_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- MultiThreadedDLL
-
- Level4
-
- $(IntDir)$(TargetName)$(PlatformToolsetVersion).pdb
-
-
- $(LUALIBNAME);%(AdditionalDependencies)
- $(OutDir)$(TargetName).dll
- $(LUALIB);%(AdditionalLibraryDirectories)
- true
- Windows
- true
- true
- false
-
- $(OutDir)$(TargetName).lib
- MachineX86
-
-
-
-
- $(LUAINC);%(AdditionalIncludeDirectories)
- WIN32;NDEBUG;_WINDOWS;_USRDLL;MIME_API=__declspec(dllexport);_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- MultiThreadedDLL
-
-
- Level4
-
-
- $(IntDir)$(TargetName)$(PlatformToolsetVersion).pdb
-
-
- $(LUALIBNAME);%(AdditionalDependencies)
- $(OutDir)$(TargetName).dll
- $(LUALIB);%(AdditionalLibraryDirectories)
- true
- Windows
- true
- true
- false
-
-
- $(OutDir)$(TargetName).lib
-
-
-
-
-
-
\ No newline at end of file
diff --git a/mingw.cmd b/mingw.cmd
deleted file mode 100644
index bf2b7ed..0000000
--- a/mingw.cmd
+++ /dev/null
@@ -1 +0,0 @@
-make PLAT=mingw LUAINC_mingw_base=/home/diego/build/mingw/include LUALIB_mingw_base=/home/diego/build/mingw/bin LUAPREFIX_mingw=/home/diego/build/mingw/bin DEBUG=DEBUG install-both
diff --git a/socket.vcxproj b/socket.vcxproj
deleted file mode 100644
index 51ebc68..0000000
--- a/socket.vcxproj
+++ /dev/null
@@ -1,216 +0,0 @@
-
-
-
-
- Debug
- Win32
-
-
- Debug
- x64
-
-
- Release
- Win32
-
-
- Release
- x64
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {66E3CE14-884D-4AEA-9F20-15A0BEAF8C5A}
- Win32Proj
-
-
-
- DynamicLibrary
- v141
- MultiByte
-
-
- DynamicLibrary
- v141
- MultiByte
-
-
- DynamicLibrary
- v141
- MultiByte
-
-
- DynamicLibrary
- v141
- MultiByte
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <_ProjectFileVersion>11.0.50727.1
-
-
- $(Configuration)\socket\
- $(Configuration)\
- true
- core
-
-
- true
- core
- $(Platform)\$(Configuration)\socket\
-
-
- $(Configuration)\socket\
- $(Configuration)\
- false
- core
-
-
- false
- $(Platform)\$(Configuration)\socket\
- core
-
-
-
- Disabled
- $(LUAINC);%(AdditionalIncludeDirectories)
- WIN32;_DEBUG;_WINDOWS;_USRDLL;LUASOCKET_API=__declspec(dllexport);_CRT_SECURE_NO_WARNINGS;LUASOCKET_DEBUG;%(PreprocessorDefinitions)
- true
- EnableFastChecks
- MultiThreadedDebugDLL
-
- Level3
- EditAndContinue
- $(IntDir)$(TargetName)$(PlatformToolsetVersion).pdb
-
-
- $(LUALIBNAME);ws2_32.lib;%(AdditionalDependencies)
- $(OutDir)$(TargetName).dll
- $(LUALIB);%(AdditionalLibraryDirectories)
- true
- $(OutDir)mime.pdb
- Windows
- false
-
- $(OutDir)$(TargetName).lib
- MachineX86
- false
-
-
-
-
- Disabled
- $(LUAINC);%(AdditionalIncludeDirectories)
- WIN32;_DEBUG;_WINDOWS;_USRDLL;LUASOCKET_API=__declspec(dllexport);_CRT_SECURE_NO_WARNINGS;LUASOCKET_DEBUG;%(PreprocessorDefinitions)
- EnableFastChecks
- MultiThreadedDebugDLL
-
-
- Level3
- ProgramDatabase
- $(IntDir)$(TargetName)$(PlatformToolsetVersion).pdb
-
-
- $(LUALIBNAME);ws2_32.lib;%(AdditionalDependencies)
- $(OutDir)$(TargetName).dll
- $(LUALIB);%(AdditionalLibraryDirectories)
- true
- $(OutDir)mime.pdb
- Windows
- false
-
-
- $(OutDir)$(TargetName).lib
-
-
-
-
- $(LUAINC);%(AdditionalIncludeDirectories)
- WIN32;NDEBUG;_WINDOWS;_USRDLL;LUASOCKET_API=__declspec(dllexport);_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- MultiThreadedDLL
-
- Level4
-
- $(IntDir)$(TargetName)$(PlatformToolsetVersion).pdb
-
-
- $(LUALIBNAME);ws2_32.lib;%(AdditionalDependencies)
- $(OutDir)$(TargetName).dll
- $(LUALIB);%(AdditionalLibraryDirectories)
- true
- Windows
- true
- true
- false
-
- $(OutDir)$(TargetName).lib
- MachineX86
-
-
-
-
- $(LUAINC);%(AdditionalIncludeDirectories)
- WIN32;NDEBUG;_WINDOWS;_USRDLL;LUASOCKET_API=__declspec(dllexport);_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
- MultiThreadedDLL
-
-
- Level4
-
-
- $(IntDir)$(TargetName)$(PlatformToolsetVersion).pdb
-
-
- $(LUALIBNAME);ws2_32.lib;%(AdditionalDependencies)
- $(OutDir)$(TargetName).dll
- $(LUALIB);%(AdditionalLibraryDirectories)
- true
- Windows
- true
- true
- false
-
-
- $(OutDir)$(TargetName).lib
-
-
-
-
-
-
\ No newline at end of file
diff --git a/vc32.bat b/vc32.bat
deleted file mode 100644
index 7ff8c0e..0000000
--- a/vc32.bat
+++ /dev/null
@@ -1,3 +0,0 @@
-call "c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\vcvars32.bat"
-cls
-"c:\Program Files\Git\git-bash.exe" --cd-to-home
diff --git a/vc64.bat b/vc64.bat
deleted file mode 100644
index ed5cb3a..0000000
--- a/vc64.bat
+++ /dev/null
@@ -1,3 +0,0 @@
-call "c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\vcvars64.bat"
-cls
-"c:\Program Files\Git\git-bash.exe" --cd-to-home
diff --git a/win32.cmd b/win32.cmd
deleted file mode 100644
index 5eda3b1..0000000
--- a/win32.cmd
+++ /dev/null
@@ -1 +0,0 @@
-LUAV=5.3 PLAT=win32 LUAPREFIX_win32=/z/data/build/vc14 make
diff --git a/win64.cmd b/win64.cmd
deleted file mode 100644
index b1f9ac0..0000000
--- a/win64.cmd
+++ /dev/null
@@ -1 +0,0 @@
-LUAV=5.3 PLAT=win64 LUAPREFIX_win64=/z/data/build/vc14 make