From dbaa87e25ae3d304a8008765ab356a6ced34637b Mon Sep 17 00:00:00 2001 From: "shewitt.au" Date: Sun, 4 Jan 2026 22:49:56 +1100 Subject: [PATCH] cli dll version --- lua.sln | 26 ++++ luacli_dynamic/luacli_dynamic.cpp | 20 +++ luacli_dynamic/luacli_dynamic.vcxproj | 138 ++++++++++++++++ luacli_dynamic/luacli_dynamic.vcxproj.filters | 27 ++++ luacli_static/luacli_static.cpp | 20 +++ luacli_static/luacli_static.vcxproj | 147 ++++++++++++++++++ luacli_static/luacli_static.vcxproj.filters | 27 ++++ 7 files changed, 405 insertions(+) create mode 100644 luacli_dynamic/luacli_dynamic.cpp create mode 100644 luacli_dynamic/luacli_dynamic.vcxproj create mode 100644 luacli_dynamic/luacli_dynamic.vcxproj.filters create mode 100644 luacli_static/luacli_static.cpp create mode 100644 luacli_static/luacli_static.vcxproj create mode 100644 luacli_static/luacli_static.vcxproj.filters diff --git a/lua.sln b/lua.sln index ec0211b7..b2bda75c 100644 --- a/lua.sln +++ b/lua.sln @@ -7,6 +7,16 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lua_static", "lua_static\lu EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lua_dll", "lua_dll\lua_dll.vcxproj", "{BCDCF977-AB47-4EB9-A587-51562D9B4842}" EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "luacli_static", "luacli_static\luacli_static.vcxproj", "{30DD91D2-B3E5-49CB-B9DC-438E165C922D}" + ProjectSection(ProjectDependencies) = postProject + {1A967327-FA3D-4316-B7AC-EBA024A6547D} = {1A967327-FA3D-4316-B7AC-EBA024A6547D} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "luacli_dynamic", "luacli_dynamic\luacli_dynamic.vcxproj", "{1D1FE67F-8750-43BF-8A7F-76E1D3CFF932}" + ProjectSection(ProjectDependencies) = postProject + {BCDCF977-AB47-4EB9-A587-51562D9B4842} = {BCDCF977-AB47-4EB9-A587-51562D9B4842} + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|x64 = Debug|x64 @@ -31,6 +41,22 @@ Global {BCDCF977-AB47-4EB9-A587-51562D9B4842}.Release|x64.Build.0 = Release|x64 {BCDCF977-AB47-4EB9-A587-51562D9B4842}.Release|x86.ActiveCfg = Release|Win32 {BCDCF977-AB47-4EB9-A587-51562D9B4842}.Release|x86.Build.0 = Release|Win32 + {30DD91D2-B3E5-49CB-B9DC-438E165C922D}.Debug|x64.ActiveCfg = Debug|x64 + {30DD91D2-B3E5-49CB-B9DC-438E165C922D}.Debug|x64.Build.0 = Debug|x64 + {30DD91D2-B3E5-49CB-B9DC-438E165C922D}.Debug|x86.ActiveCfg = Debug|Win32 + {30DD91D2-B3E5-49CB-B9DC-438E165C922D}.Debug|x86.Build.0 = Debug|Win32 + {30DD91D2-B3E5-49CB-B9DC-438E165C922D}.Release|x64.ActiveCfg = Release|x64 + {30DD91D2-B3E5-49CB-B9DC-438E165C922D}.Release|x64.Build.0 = Release|x64 + {30DD91D2-B3E5-49CB-B9DC-438E165C922D}.Release|x86.ActiveCfg = Release|Win32 + {30DD91D2-B3E5-49CB-B9DC-438E165C922D}.Release|x86.Build.0 = Release|Win32 + {1D1FE67F-8750-43BF-8A7F-76E1D3CFF932}.Debug|x64.ActiveCfg = Debug|x64 + {1D1FE67F-8750-43BF-8A7F-76E1D3CFF932}.Debug|x64.Build.0 = Debug|x64 + {1D1FE67F-8750-43BF-8A7F-76E1D3CFF932}.Debug|x86.ActiveCfg = Debug|Win32 + {1D1FE67F-8750-43BF-8A7F-76E1D3CFF932}.Debug|x86.Build.0 = Debug|Win32 + {1D1FE67F-8750-43BF-8A7F-76E1D3CFF932}.Release|x64.ActiveCfg = Release|x64 + {1D1FE67F-8750-43BF-8A7F-76E1D3CFF932}.Release|x64.Build.0 = Release|x64 + {1D1FE67F-8750-43BF-8A7F-76E1D3CFF932}.Release|x86.ActiveCfg = Release|Win32 + {1D1FE67F-8750-43BF-8A7F-76E1D3CFF932}.Release|x86.Build.0 = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/luacli_dynamic/luacli_dynamic.cpp b/luacli_dynamic/luacli_dynamic.cpp new file mode 100644 index 00000000..a86189d6 --- /dev/null +++ b/luacli_dynamic/luacli_dynamic.cpp @@ -0,0 +1,20 @@ +// luacli_dynamic.cpp : This file contains the 'main' function. Program execution begins and ends there. +// + +#include + +int main() +{ + std::cout << "Hello World!\n"; +} + +// Run program: Ctrl + F5 or Debug > Start Without Debugging menu +// Debug program: F5 or Debug > Start Debugging menu + +// Tips for Getting Started: +// 1. Use the Solution Explorer window to add/manage files +// 2. Use the Team Explorer window to connect to source control +// 3. Use the Output window to see build output and other messages +// 4. Use the Error List window to view errors +// 5. Go to Project > Add New Item to create new code files, or Project > Add Existing Item to add existing code files to the project +// 6. In the future, to open this project again, go to File > Open > Project and select the .sln file diff --git a/luacli_dynamic/luacli_dynamic.vcxproj b/luacli_dynamic/luacli_dynamic.vcxproj new file mode 100644 index 00000000..a23962e8 --- /dev/null +++ b/luacli_dynamic/luacli_dynamic.vcxproj @@ -0,0 +1,138 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + + + + + + + 17.0 + Win32Proj + {1d1fe67f-8750-43bf-8a7f-76e1d3cff932} + luaclidynamic + 10.0 + + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + + + + + + + + + + + + + + + + + + + + Level3 + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + $(CoreLibraryDependencies);%(AdditionalDependencies);lua_dd.lib + $(SolutionDir)\$(Platform)\$(Configuration) + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + $(CoreLibraryDependencies);%(AdditionalDependencies);lua_dr.lib + $(SolutionDir)\$(Platform)\$(Configuration) + + + + + + \ No newline at end of file diff --git a/luacli_dynamic/luacli_dynamic.vcxproj.filters b/luacli_dynamic/luacli_dynamic.vcxproj.filters new file mode 100644 index 00000000..ad3d2fb7 --- /dev/null +++ b/luacli_dynamic/luacli_dynamic.vcxproj.filters @@ -0,0 +1,27 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Source Files + + + + + Header Files + + + \ No newline at end of file diff --git a/luacli_static/luacli_static.cpp b/luacli_static/luacli_static.cpp new file mode 100644 index 00000000..fc53030c --- /dev/null +++ b/luacli_static/luacli_static.cpp @@ -0,0 +1,20 @@ +// luacli_static.cpp : This file contains the 'main' function. Program execution begins and ends there. +// + +#include + +int main() +{ + std::cout << "Hello World!\n"; +} + +// Run program: Ctrl + F5 or Debug > Start Without Debugging menu +// Debug program: F5 or Debug > Start Debugging menu + +// Tips for Getting Started: +// 1. Use the Solution Explorer window to add/manage files +// 2. Use the Team Explorer window to connect to source control +// 3. Use the Output window to see build output and other messages +// 4. Use the Error List window to view errors +// 5. Go to Project > Add New Item to create new code files, or Project > Add Existing Item to add existing code files to the project +// 6. In the future, to open this project again, go to File > Open > Project and select the .sln file diff --git a/luacli_static/luacli_static.vcxproj b/luacli_static/luacli_static.vcxproj new file mode 100644 index 00000000..b854287c --- /dev/null +++ b/luacli_static/luacli_static.vcxproj @@ -0,0 +1,147 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + + + + + + + 17.0 + Win32Proj + {30dd91d2-b3e5-49cb-b9dc-438e165c922d} + luaclistatic + 10.0 + + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + + + + + + + + + + + + + + + + + + + luacli_sr + + + luacli_sr + + + + Level3 + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + $(CoreLibraryDependencies);%(AdditionalDependencies);lua_sd.lib + $(SolutionDir)\$(Platform)\$(Configuration) + + + true + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + $(SolutionDir)\$(Platform)\$(Configuration) + $(CoreLibraryDependencies);%(AdditionalDependencies);lua_sr.lib + + + + + + \ No newline at end of file diff --git a/luacli_static/luacli_static.vcxproj.filters b/luacli_static/luacli_static.vcxproj.filters new file mode 100644 index 00000000..ad3d2fb7 --- /dev/null +++ b/luacli_static/luacli_static.vcxproj.filters @@ -0,0 +1,27 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Source Files + + + + + Header Files + + + \ No newline at end of file