diff options
| author | Benoit Germain <benoit.germain@ubisoft.com> | 2025-03-11 11:55:01 +0100 |
|---|---|---|
| committer | Benoit Germain <benoit.germain@ubisoft.com> | 2025-03-11 11:55:01 +0100 |
| commit | af3161e5265b56a3d33a1ed45597f85c34806928 (patch) | |
| tree | 332101e2a95aebc09f907a73958de923be4b0a4d /deep_userdata_example | |
| parent | b1822d8d07f8ee34cef2e7e74391695dd4e1ea81 (diff) | |
| download | lanes-af3161e5265b56a3d33a1ed45597f85c34806928.tar.gz lanes-af3161e5265b56a3d33a1ed45597f85c34806928.tar.bz2 lanes-af3161e5265b56a3d33a1ed45597f85c34806928.zip | |
Sample module deep test renamed deep_userdata_example
Diffstat (limited to 'deep_userdata_example')
| -rw-r--r-- | deep_userdata_example/deep_userdata_example.args.json | 24 | ||||
| -rw-r--r-- | deep_userdata_example/deep_userdata_example.cpp | 340 | ||||
| -rw-r--r-- | deep_userdata_example/deep_userdata_example.vcxproj | 876 | ||||
| -rw-r--r-- | deep_userdata_example/deep_userdata_example.vcxproj.filters | 53 | ||||
| -rw-r--r-- | deep_userdata_example/deep_userdata_example.vcxproj.user | 120 | ||||
| -rw-r--r-- | deep_userdata_example/deeptest.lua | 159 |
6 files changed, 1572 insertions, 0 deletions
diff --git a/deep_userdata_example/deep_userdata_example.args.json b/deep_userdata_example/deep_userdata_example.args.json new file mode 100644 index 0000000..a1654a6 --- /dev/null +++ b/deep_userdata_example/deep_userdata_example.args.json | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | { | ||
| 2 | "FileVersion": 2, | ||
| 3 | "Id": "4c40bd18-3bab-46d7-8f14-602a6fbe5910", | ||
| 4 | "Items": [ | ||
| 5 | { | ||
| 6 | "Id": "d9d87866-8c63-44a8-b88a-1d42097985d4", | ||
| 7 | "Command": "DeepTest", | ||
| 8 | "Items": [ | ||
| 9 | { | ||
| 10 | "Id": "d762af99-3873-4084-a9a1-ae42f57802a0", | ||
| 11 | "Command": "deeptest.lua" | ||
| 12 | }, | ||
| 13 | { | ||
| 14 | "Id": "a8d142a9-be5f-459d-8b80-61c7f3a263a1", | ||
| 15 | "Command": "-e \"REPEAT=1000, SIZE=1000\" -i deeptest.lua" | ||
| 16 | }, | ||
| 17 | { | ||
| 18 | "Id": "10e30bb2-dc23-4882-b918-b5939c14e588", | ||
| 19 | "Command": "-e \"REPEAT=1000, SIZE=1000 DEEP='stack_abuser'\" -i deeptest.lua" | ||
| 20 | } | ||
| 21 | ] | ||
| 22 | } | ||
| 23 | ] | ||
| 24 | } \ No newline at end of file | ||
diff --git a/deep_userdata_example/deep_userdata_example.cpp b/deep_userdata_example/deep_userdata_example.cpp new file mode 100644 index 0000000..a45cc7f --- /dev/null +++ b/deep_userdata_example/deep_userdata_example.cpp | |||
| @@ -0,0 +1,340 @@ | |||
| 1 | #include "lanes/src/_pch.hpp" | ||
| 2 | #include "lanes/src/deep.hpp" | ||
| 3 | #include "lanes/src/compat.hpp" | ||
| 4 | |||
| 5 | class MyDeepFactory final : public DeepFactory | ||
| 6 | { | ||
| 7 | public: | ||
| 8 | static MyDeepFactory Instance; | ||
| 9 | |||
| 10 | private: | ||
| 11 | ~MyDeepFactory() override = default; | ||
| 12 | |||
| 13 | private: | ||
| 14 | void createMetatable(lua_State* const L_) const override | ||
| 15 | { | ||
| 16 | luaL_getmetatable(L_, "deep"); | ||
| 17 | } | ||
| 18 | void deleteDeepObjectInternal(lua_State* const L_, DeepPrelude* o_) const override; | ||
| 19 | [[nodiscard]] | ||
| 20 | DeepPrelude* newDeepObjectInternal(lua_State* const L_) const override; | ||
| 21 | [[nodiscard]] | ||
| 22 | std::string_view moduleName() const override { return std::string_view{ "deep_userdata_example" }; } | ||
| 23 | }; | ||
| 24 | /*static*/ MyDeepFactory MyDeepFactory::Instance{}; | ||
| 25 | |||
| 26 | // ################################################################################################# | ||
| 27 | |||
| 28 | // a lanes-deep userdata. needs DeepPrelude and luaG_newdeepuserdata from Lanes code. | ||
| 29 | struct MyDeepUserdata : public DeepPrelude // Deep userdata MUST start with a DeepPrelude | ||
| 30 | { | ||
| 31 | std::atomic<int> inUse{}; | ||
| 32 | lua_Integer val{ 0 }; | ||
| 33 | MyDeepUserdata() | ||
| 34 | : DeepPrelude{ MyDeepFactory::Instance } | ||
| 35 | { | ||
| 36 | } | ||
| 37 | }; | ||
| 38 | |||
| 39 | // ################################################################################################# | ||
| 40 | |||
| 41 | DeepPrelude* MyDeepFactory::newDeepObjectInternal(lua_State* const L_) const | ||
| 42 | { | ||
| 43 | MyDeepUserdata* const _deep_test{ new MyDeepUserdata }; | ||
| 44 | return _deep_test; | ||
| 45 | } | ||
| 46 | |||
| 47 | // ################################################################################################# | ||
| 48 | |||
| 49 | void MyDeepFactory::deleteDeepObjectInternal(lua_State* const L_, DeepPrelude* const o_) const | ||
| 50 | { | ||
| 51 | MyDeepUserdata* const _deep_test{ static_cast<MyDeepUserdata*>(o_) }; | ||
| 52 | delete _deep_test; | ||
| 53 | } | ||
| 54 | |||
| 55 | // ################################################################################################# | ||
| 56 | |||
| 57 | [[nodiscard]] | ||
| 58 | static int deep_gc(lua_State* const L_) | ||
| 59 | { | ||
| 60 | MyDeepUserdata* const _self{ static_cast<MyDeepUserdata*>(MyDeepFactory::Instance.toDeep(L_, StackIndex{ 1 })) }; | ||
| 61 | luaL_argcheck(L_, 1, !_self->inUse.load(), "being collected while in use!"); | ||
| 62 | if (lua_getiuservalue(L_, kIdxTop, UserValueIndex{ 1 }) == LUA_TFUNCTION) { | ||
| 63 | lua_call(L_, 0, 0); | ||
| 64 | } | ||
| 65 | return 0; | ||
| 66 | } | ||
| 67 | |||
| 68 | // ################################################################################################# | ||
| 69 | |||
| 70 | [[nodiscard]] | ||
| 71 | static int deep_get(lua_State* const L_) | ||
| 72 | { | ||
| 73 | MyDeepUserdata* const _self{ static_cast<MyDeepUserdata*>(MyDeepFactory::Instance.toDeep(L_, StackIndex{ 1 })) }; | ||
| 74 | lua_pushinteger(L_, _self->val); | ||
| 75 | return 1; | ||
| 76 | } | ||
| 77 | |||
| 78 | // ################################################################################################# | ||
| 79 | |||
| 80 | [[nodiscard]] | ||
| 81 | static int deep_tostring(lua_State* const L_) | ||
| 82 | { | ||
| 83 | MyDeepUserdata* const _self{ static_cast<MyDeepUserdata*>(MyDeepFactory::Instance.toDeep(L_, StackIndex{ 1 })) }; | ||
| 84 | _self->inUse.fetch_add(1, std::memory_order_seq_cst); | ||
| 85 | luaG_pushstring(L_, "%p:deep(%d)", _self, _self->val); | ||
| 86 | _self->inUse.fetch_sub(1, std::memory_order_seq_cst); | ||
| 87 | return 1; | ||
| 88 | } | ||
| 89 | |||
| 90 | // ################################################################################################# | ||
| 91 | |||
| 92 | // won't actually do anything as deep userdata don't have uservalue slots | ||
| 93 | [[nodiscard]] | ||
| 94 | static int deep_getuv(lua_State* L) | ||
| 95 | { | ||
| 96 | MyDeepUserdata* const _self{ static_cast<MyDeepUserdata*>(MyDeepFactory::Instance.toDeep(L, StackIndex{ 1 })) }; | ||
| 97 | _self->inUse.fetch_add(1, std::memory_order_seq_cst); | ||
| 98 | UserValueIndex const _uv{ static_cast<UserValueIndex::type>(luaL_optinteger(L, 2, 1)) }; | ||
| 99 | lua_getiuservalue(L, StackIndex{ 1 }, _uv); | ||
| 100 | _self->inUse.fetch_sub(1, std::memory_order_seq_cst); | ||
| 101 | return 1; | ||
| 102 | } | ||
| 103 | |||
| 104 | // ################################################################################################# | ||
| 105 | |||
| 106 | [[nodiscard]] | ||
| 107 | static int deep_invoke(lua_State* L) | ||
| 108 | { | ||
| 109 | MyDeepUserdata* const _self{ static_cast<MyDeepUserdata*>(MyDeepFactory::Instance.toDeep(L, StackIndex{ 1 })) }; | ||
| 110 | luaL_argcheck(L, 2, lua_gettop(L) >= 2, "need something to call"); | ||
| 111 | _self->inUse.fetch_add(1, std::memory_order_seq_cst); | ||
| 112 | lua_call(L, lua_gettop(L) - 2, LUA_MULTRET); | ||
| 113 | _self->inUse.fetch_sub(1, std::memory_order_seq_cst); | ||
| 114 | return 1; | ||
| 115 | } | ||
| 116 | |||
| 117 | // ################################################################################################# | ||
| 118 | |||
| 119 | [[nodiscard]] | ||
| 120 | static int deep_refcount(lua_State* const L_) | ||
| 121 | { | ||
| 122 | MyDeepUserdata* const _self{ static_cast<MyDeepUserdata*>(MyDeepFactory::Instance.toDeep(L_, StackIndex{ 1 })) }; | ||
| 123 | lua_pushinteger(L_, _self->getRefcount()); | ||
| 124 | return 1; | ||
| 125 | } | ||
| 126 | |||
| 127 | // ################################################################################################# | ||
| 128 | |||
| 129 | [[nodiscard]] | ||
| 130 | static int deep_set(lua_State* const L_) | ||
| 131 | { | ||
| 132 | MyDeepUserdata* const _self{ static_cast<MyDeepUserdata*>(MyDeepFactory::Instance.toDeep(L_, StackIndex{ 1 })) }; | ||
| 133 | _self->inUse.fetch_add(1, std::memory_order_seq_cst); | ||
| 134 | lua_Integer _i = lua_tointeger(L_, 2); | ||
| 135 | _self->val = _i; | ||
| 136 | _self->inUse.fetch_sub(1, std::memory_order_seq_cst); | ||
| 137 | return 0; | ||
| 138 | } | ||
| 139 | |||
| 140 | // ################################################################################################# | ||
| 141 | |||
| 142 | [[nodiscard]] | ||
| 143 | static int deep_setuv(lua_State* L) | ||
| 144 | { | ||
| 145 | MyDeepUserdata* const _self{ static_cast<MyDeepUserdata*>(MyDeepFactory::Instance.toDeep(L, StackIndex{ 1 })) }; | ||
| 146 | _self->inUse.fetch_add(1, std::memory_order_seq_cst); | ||
| 147 | UserValueIndex const _uv{ static_cast<UserValueIndex::type>(luaL_optinteger(L, 2, 1)) }; | ||
| 148 | lua_settop(L, 3); | ||
| 149 | lua_pushboolean(L, lua_setiuservalue(L, StackIndex{ 1 }, _uv) != 0); | ||
| 150 | _self->inUse.fetch_sub(1, std::memory_order_seq_cst); | ||
| 151 | return 1; | ||
| 152 | } | ||
| 153 | |||
| 154 | // ################################################################################################# | ||
| 155 | |||
| 156 | static luaL_Reg const deep_mt[] = { | ||
| 157 | { "__gc", deep_gc }, | ||
| 158 | { "__tostring", deep_tostring }, | ||
| 159 | { "get", deep_get }, | ||
| 160 | { "getuv", deep_getuv }, | ||
| 161 | { "invoke", deep_invoke }, | ||
| 162 | { "refcount", deep_refcount }, | ||
| 163 | { "set", deep_set }, | ||
| 164 | { "setuv", deep_setuv }, | ||
| 165 | { nullptr, nullptr } | ||
| 166 | }; | ||
| 167 | |||
| 168 | // ################################################################################################# | ||
| 169 | |||
| 170 | int luaD_get_deep_count(lua_State* const L_) | ||
| 171 | { | ||
| 172 | lua_pushinteger(L_, MyDeepFactory::Instance.getObjectCount()); | ||
| 173 | return 1; | ||
| 174 | } | ||
| 175 | |||
| 176 | // ################################################################################################# | ||
| 177 | |||
| 178 | int luaD_new_deep(lua_State* L) | ||
| 179 | { | ||
| 180 | UserValueCount const _nuv{ static_cast<int>(luaL_optinteger(L, 1, 0)) }; | ||
| 181 | lua_settop(L, 0); | ||
| 182 | MyDeepFactory::Instance.pushDeepUserdata(DestState{ L }, _nuv); | ||
| 183 | return 1; | ||
| 184 | } | ||
| 185 | |||
| 186 | // ################################################################################################# | ||
| 187 | // ################################################################################################# | ||
| 188 | |||
| 189 | struct MyClonableUserdata | ||
| 190 | { | ||
| 191 | lua_Integer val; | ||
| 192 | }; | ||
| 193 | |||
| 194 | // ################################################################################################# | ||
| 195 | |||
| 196 | [[nodiscard]] | ||
| 197 | static int clonable_get(lua_State* const L_) | ||
| 198 | { | ||
| 199 | MyClonableUserdata* const _self{ static_cast<MyClonableUserdata*>(lua_touserdata(L_, 1)) }; | ||
| 200 | lua_pushinteger(L_, _self->val); | ||
| 201 | return 1; | ||
| 202 | } | ||
| 203 | |||
| 204 | // ################################################################################################# | ||
| 205 | |||
| 206 | [[nodiscard]] | ||
| 207 | static int clonable_set(lua_State* const L_) | ||
| 208 | { | ||
| 209 | MyClonableUserdata* _self = static_cast<MyClonableUserdata*>(lua_touserdata(L_, 1)); | ||
| 210 | lua_Integer i = lua_tointeger(L_, 2); | ||
| 211 | _self->val = i; | ||
| 212 | return 0; | ||
| 213 | } | ||
| 214 | |||
| 215 | // ################################################################################################# | ||
| 216 | |||
| 217 | [[nodiscard]] | ||
| 218 | static int clonable_setuv(lua_State* const L_) | ||
| 219 | { | ||
| 220 | [[maybe_unused]] MyClonableUserdata* const _self{ static_cast<MyClonableUserdata*>(lua_touserdata(L_, 1)) }; | ||
| 221 | UserValueIndex const _uv{ static_cast<UserValueIndex::type>(luaL_optinteger(L_, 2, 1)) }; | ||
| 222 | lua_settop(L_, 3); | ||
| 223 | lua_pushboolean(L_, lua_setiuservalue(L_, StackIndex{ 1 }, _uv) != 0); | ||
| 224 | return 1; | ||
| 225 | } | ||
| 226 | |||
| 227 | // ################################################################################################# | ||
| 228 | |||
| 229 | [[nodiscard]] | ||
| 230 | static int clonable_getuv(lua_State* const L_) | ||
| 231 | { | ||
| 232 | [[maybe_unused]] MyClonableUserdata* const _self{ static_cast<MyClonableUserdata*>(lua_touserdata(L_, 1)) }; | ||
| 233 | UserValueIndex const _uv{ static_cast<UserValueIndex::type>(luaL_optinteger(L_, 2, 1)) }; | ||
| 234 | lua_getiuservalue(L_, StackIndex{ 1 }, _uv); | ||
| 235 | return 1; | ||
| 236 | } | ||
| 237 | |||
| 238 | // ################################################################################################# | ||
| 239 | |||
| 240 | [[nodiscard]] | ||
| 241 | static int clonable_tostring(lua_State* const L_) | ||
| 242 | { | ||
| 243 | MyClonableUserdata* _self = static_cast<MyClonableUserdata*>(lua_touserdata(L_, 1)); | ||
| 244 | luaG_pushstring(L_, "%p:clonable(%d)", lua_topointer(L_, 1), _self->val); | ||
| 245 | return 1; | ||
| 246 | } | ||
| 247 | |||
| 248 | // ################################################################################################# | ||
| 249 | |||
| 250 | [[nodiscard]] | ||
| 251 | static int clonable_gc(lua_State* const L_) | ||
| 252 | { | ||
| 253 | [[maybe_unused]] MyClonableUserdata* _self = static_cast<MyClonableUserdata*>(lua_touserdata(L_, 1)); | ||
| 254 | if (lua_getiuservalue(L_, kIdxTop, UserValueIndex{ 1 }) == LUA_TFUNCTION) { | ||
| 255 | lua_call(L_, 0, 0); | ||
| 256 | } | ||
| 257 | return 0; | ||
| 258 | } | ||
| 259 | |||
| 260 | // ################################################################################################# | ||
| 261 | |||
| 262 | // this is all we need to make a userdata lanes-clonable. no dependency on Lanes code. | ||
| 263 | [[nodiscard]] | ||
| 264 | static int clonable_lanesclone(lua_State* L) | ||
| 265 | { | ||
| 266 | switch (lua_gettop(L)) { | ||
| 267 | case 3: | ||
| 268 | { | ||
| 269 | MyClonableUserdata* self = static_cast<MyClonableUserdata*>(lua_touserdata(L, 1)); | ||
| 270 | MyClonableUserdata* from = static_cast<MyClonableUserdata*>(lua_touserdata(L, 2)); | ||
| 271 | size_t len = lua_tointeger(L, 3); | ||
| 272 | assert(len == sizeof(MyClonableUserdata)); | ||
| 273 | *self = *from; | ||
| 274 | } | ||
| 275 | return 0; | ||
| 276 | |||
| 277 | default: | ||
| 278 | raise_luaL_error(L, "Lanes called clonable_lanesclone with unexpected arguments"); | ||
| 279 | } | ||
| 280 | return 0; | ||
| 281 | } | ||
| 282 | |||
| 283 | // ################################################################################################# | ||
| 284 | |||
| 285 | static luaL_Reg const clonable_mt[] = { | ||
| 286 | { "__gc", clonable_gc }, | ||
| 287 | { "__lanesclone", clonable_lanesclone }, | ||
| 288 | { "__tostring", clonable_tostring }, | ||
| 289 | { "get", clonable_get }, | ||
| 290 | { "set", clonable_set }, | ||
| 291 | { "setuv", clonable_setuv }, | ||
| 292 | { "getuv", clonable_getuv }, | ||
| 293 | { nullptr, nullptr } | ||
| 294 | }; | ||
| 295 | |||
| 296 | // ################################################################################################# | ||
| 297 | |||
| 298 | int luaD_new_clonable(lua_State* L) | ||
| 299 | { | ||
| 300 | UserValueCount const _nuv{ static_cast<int>(luaL_optinteger(L, 1, 1)) }; | ||
| 301 | lua_newuserdatauv(L, sizeof(MyClonableUserdata), _nuv); | ||
| 302 | luaG_setmetatable(L, "clonable"); | ||
| 303 | return 1; | ||
| 304 | } | ||
| 305 | |||
| 306 | // ################################################################################################# | ||
| 307 | // ################################################################################################# | ||
| 308 | |||
| 309 | static luaL_Reg const deep_module[] = { | ||
| 310 | { "get_deep_count", luaD_get_deep_count }, | ||
| 311 | { "new_deep", luaD_new_deep }, | ||
| 312 | { "new_clonable", luaD_new_clonable }, | ||
| 313 | { nullptr, nullptr } | ||
| 314 | }; | ||
| 315 | |||
| 316 | // ################################################################################################# | ||
| 317 | |||
| 318 | LANES_API int luaopen_deep_userdata_example(lua_State* L) | ||
| 319 | { | ||
| 320 | luaG_newlib<std::size(deep_module)>(L, deep_module); // M | ||
| 321 | |||
| 322 | // preregister the metatables for the types we can instantiate so that Lanes can know about them | ||
| 323 | if (luaL_newmetatable(L, "clonable")) // M mt | ||
| 324 | { | ||
| 325 | luaG_registerlibfuncs(L, clonable_mt); | ||
| 326 | lua_pushvalue(L, -1); // M mt mt | ||
| 327 | lua_setfield(L, -2, "__index"); // M mt | ||
| 328 | } | ||
| 329 | lua_setfield(L, -2, "__clonableMT"); // M | ||
| 330 | |||
| 331 | if (luaL_newmetatable(L, "deep")) // mt | ||
| 332 | { | ||
| 333 | luaG_registerlibfuncs(L, deep_mt); | ||
| 334 | lua_pushvalue(L, -1); // mt mt | ||
| 335 | lua_setfield(L, -2, "__index"); // mt | ||
| 336 | } | ||
| 337 | lua_setfield(L, -2, "__deepMT"); // M | ||
| 338 | |||
| 339 | return 1; | ||
| 340 | } | ||
diff --git a/deep_userdata_example/deep_userdata_example.vcxproj b/deep_userdata_example/deep_userdata_example.vcxproj new file mode 100644 index 0000000..839e5c8 --- /dev/null +++ b/deep_userdata_example/deep_userdata_example.vcxproj | |||
| @@ -0,0 +1,876 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
| 3 | <ItemGroup Label="ProjectConfigurations"> | ||
| 4 | <ProjectConfiguration Include="Debug 5.1|Prospero"> | ||
| 5 | <Configuration>Debug 5.1</Configuration> | ||
| 6 | <Platform>Prospero</Platform> | ||
| 7 | </ProjectConfiguration> | ||
| 8 | <ProjectConfiguration Include="Debug 5.1|Win32"> | ||
| 9 | <Configuration>Debug 5.1</Configuration> | ||
| 10 | <Platform>Win32</Platform> | ||
| 11 | </ProjectConfiguration> | ||
| 12 | <ProjectConfiguration Include="Debug 5.1|x64"> | ||
| 13 | <Configuration>Debug 5.1</Configuration> | ||
| 14 | <Platform>x64</Platform> | ||
| 15 | </ProjectConfiguration> | ||
| 16 | <ProjectConfiguration Include="Debug 5.2|Prospero"> | ||
| 17 | <Configuration>Debug 5.2</Configuration> | ||
| 18 | <Platform>Prospero</Platform> | ||
| 19 | </ProjectConfiguration> | ||
| 20 | <ProjectConfiguration Include="Debug 5.2|Win32"> | ||
| 21 | <Configuration>Debug 5.2</Configuration> | ||
| 22 | <Platform>Win32</Platform> | ||
| 23 | </ProjectConfiguration> | ||
| 24 | <ProjectConfiguration Include="Debug 5.2|x64"> | ||
| 25 | <Configuration>Debug 5.2</Configuration> | ||
| 26 | <Platform>x64</Platform> | ||
| 27 | </ProjectConfiguration> | ||
| 28 | <ProjectConfiguration Include="Debug 5.3|Prospero"> | ||
| 29 | <Configuration>Debug 5.3</Configuration> | ||
| 30 | <Platform>Prospero</Platform> | ||
| 31 | </ProjectConfiguration> | ||
| 32 | <ProjectConfiguration Include="Debug 5.3|Win32"> | ||
| 33 | <Configuration>Debug 5.3</Configuration> | ||
| 34 | <Platform>Win32</Platform> | ||
| 35 | </ProjectConfiguration> | ||
| 36 | <ProjectConfiguration Include="Debug 5.4|Prospero"> | ||
| 37 | <Configuration>Debug 5.4</Configuration> | ||
| 38 | <Platform>Prospero</Platform> | ||
| 39 | </ProjectConfiguration> | ||
| 40 | <ProjectConfiguration Include="Debug 5.4|Win32"> | ||
| 41 | <Configuration>Debug 5.4</Configuration> | ||
| 42 | <Platform>Win32</Platform> | ||
| 43 | </ProjectConfiguration> | ||
| 44 | <ProjectConfiguration Include="Debug 5.4|x64"> | ||
| 45 | <Configuration>Debug 5.4</Configuration> | ||
| 46 | <Platform>x64</Platform> | ||
| 47 | </ProjectConfiguration> | ||
| 48 | <ProjectConfiguration Include="Debug LuaJIT 2.0.5|Prospero"> | ||
| 49 | <Configuration>Debug LuaJIT 2.0.5</Configuration> | ||
| 50 | <Platform>Prospero</Platform> | ||
| 51 | </ProjectConfiguration> | ||
| 52 | <ProjectConfiguration Include="Debug LuaJIT 2.0.5|Win32"> | ||
| 53 | <Configuration>Debug LuaJIT 2.0.5</Configuration> | ||
| 54 | <Platform>Win32</Platform> | ||
| 55 | </ProjectConfiguration> | ||
| 56 | <ProjectConfiguration Include="Debug LuaJIT 2.0.5|x64"> | ||
| 57 | <Configuration>Debug LuaJIT 2.0.5</Configuration> | ||
| 58 | <Platform>x64</Platform> | ||
| 59 | </ProjectConfiguration> | ||
| 60 | <ProjectConfiguration Include="Debug LuaJIT 2.1.0-beta3|Prospero"> | ||
| 61 | <Configuration>Debug LuaJIT 2.1.0-beta3</Configuration> | ||
| 62 | <Platform>Prospero</Platform> | ||
| 63 | </ProjectConfiguration> | ||
| 64 | <ProjectConfiguration Include="Debug LuaJIT 2.1.0-beta3|Win32"> | ||
| 65 | <Configuration>Debug LuaJIT 2.1.0-beta3</Configuration> | ||
| 66 | <Platform>Win32</Platform> | ||
| 67 | </ProjectConfiguration> | ||
| 68 | <ProjectConfiguration Include="Debug LuaJIT 2.1.0-beta3|x64"> | ||
| 69 | <Configuration>Debug LuaJIT 2.1.0-beta3</Configuration> | ||
| 70 | <Platform>x64</Platform> | ||
| 71 | </ProjectConfiguration> | ||
| 72 | <ProjectConfiguration Include="Debug LuaJIT GIT|Prospero"> | ||
| 73 | <Configuration>Debug LuaJIT GIT</Configuration> | ||
| 74 | <Platform>Prospero</Platform> | ||
| 75 | </ProjectConfiguration> | ||
| 76 | <ProjectConfiguration Include="Debug LuaJIT GIT|Win32"> | ||
| 77 | <Configuration>Debug LuaJIT GIT</Configuration> | ||
| 78 | <Platform>Win32</Platform> | ||
| 79 | </ProjectConfiguration> | ||
| 80 | <ProjectConfiguration Include="Debug LuaJIT GIT|x64"> | ||
| 81 | <Configuration>Debug LuaJIT GIT</Configuration> | ||
| 82 | <Platform>x64</Platform> | ||
| 83 | </ProjectConfiguration> | ||
| 84 | <ProjectConfiguration Include="Debug MoonJIT|Prospero"> | ||
| 85 | <Configuration>Debug MoonJIT</Configuration> | ||
| 86 | <Platform>Prospero</Platform> | ||
| 87 | </ProjectConfiguration> | ||
| 88 | <ProjectConfiguration Include="Debug MoonJIT|Win32"> | ||
| 89 | <Configuration>Debug MoonJIT</Configuration> | ||
| 90 | <Platform>Win32</Platform> | ||
| 91 | </ProjectConfiguration> | ||
| 92 | <ProjectConfiguration Include="Debug MoonJIT|x64"> | ||
| 93 | <Configuration>Debug MoonJIT</Configuration> | ||
| 94 | <Platform>x64</Platform> | ||
| 95 | </ProjectConfiguration> | ||
| 96 | <ProjectConfiguration Include="Release 5.3|Prospero"> | ||
| 97 | <Configuration>Release 5.3</Configuration> | ||
| 98 | <Platform>Prospero</Platform> | ||
| 99 | </ProjectConfiguration> | ||
| 100 | <ProjectConfiguration Include="Release 5.3|Win32"> | ||
| 101 | <Configuration>Release 5.3</Configuration> | ||
| 102 | <Platform>Win32</Platform> | ||
| 103 | </ProjectConfiguration> | ||
| 104 | <ProjectConfiguration Include="Debug 5.3|x64"> | ||
| 105 | <Configuration>Debug 5.3</Configuration> | ||
| 106 | <Platform>x64</Platform> | ||
| 107 | </ProjectConfiguration> | ||
| 108 | <ProjectConfiguration Include="Release 5.3|x64"> | ||
| 109 | <Configuration>Release 5.3</Configuration> | ||
| 110 | <Platform>x64</Platform> | ||
| 111 | </ProjectConfiguration> | ||
| 112 | <ProjectConfiguration Include="Release 5.4|Prospero"> | ||
| 113 | <Configuration>Release 5.4</Configuration> | ||
| 114 | <Platform>Prospero</Platform> | ||
| 115 | </ProjectConfiguration> | ||
| 116 | <ProjectConfiguration Include="Release 5.4|Win32"> | ||
| 117 | <Configuration>Release 5.4</Configuration> | ||
| 118 | <Platform>Win32</Platform> | ||
| 119 | </ProjectConfiguration> | ||
| 120 | <ProjectConfiguration Include="Release 5.4|x64"> | ||
| 121 | <Configuration>Release 5.4</Configuration> | ||
| 122 | <Platform>x64</Platform> | ||
| 123 | </ProjectConfiguration> | ||
| 124 | </ItemGroup> | ||
| 125 | <PropertyGroup Label="Globals"> | ||
| 126 | <VCProjectVersion>15.0</VCProjectVersion> | ||
| 127 | <ProjectGuid>{4C40BD18-3BAB-46D7-8F14-602A6FBE5910}</ProjectGuid> | ||
| 128 | <RootNamespace>deeptest</RootNamespace> | ||
| 129 | <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> | ||
| 130 | </PropertyGroup> | ||
| 131 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
| 132 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.3|Win32'" Label="Configuration"> | ||
| 133 | <ConfigurationType>DynamicLibrary</ConfigurationType> | ||
| 134 | <UseDebugLibraries>true</UseDebugLibraries> | ||
| 135 | <PlatformToolset>v143</PlatformToolset> | ||
| 136 | <CharacterSet>MultiByte</CharacterSet> | ||
| 137 | </PropertyGroup> | ||
| 138 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.1|Win32'" Label="Configuration"> | ||
| 139 | <ConfigurationType>DynamicLibrary</ConfigurationType> | ||
| 140 | <UseDebugLibraries>true</UseDebugLibraries> | ||
| 141 | <PlatformToolset>v143</PlatformToolset> | ||
| 142 | <CharacterSet>MultiByte</CharacterSet> | ||
| 143 | </PropertyGroup> | ||
| 144 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.2|Win32'" Label="Configuration"> | ||
| 145 | <ConfigurationType>DynamicLibrary</ConfigurationType> | ||
| 146 | <UseDebugLibraries>true</UseDebugLibraries> | ||
| 147 | <PlatformToolset>v143</PlatformToolset> | ||
| 148 | <CharacterSet>MultiByte</CharacterSet> | ||
| 149 | </PropertyGroup> | ||
| 150 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT 2.1.0-beta3|Win32'" Label="Configuration"> | ||
| 151 | <ConfigurationType>DynamicLibrary</ConfigurationType> | ||
| 152 | <UseDebugLibraries>true</UseDebugLibraries> | ||
| 153 | <PlatformToolset>v143</PlatformToolset> | ||
| 154 | <CharacterSet>MultiByte</CharacterSet> | ||
| 155 | </PropertyGroup> | ||
| 156 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT 2.0.5|Win32'" Label="Configuration"> | ||
| 157 | <ConfigurationType>DynamicLibrary</ConfigurationType> | ||
| 158 | <UseDebugLibraries>true</UseDebugLibraries> | ||
| 159 | <PlatformToolset>v143</PlatformToolset> | ||
| 160 | <CharacterSet>MultiByte</CharacterSet> | ||
| 161 | </PropertyGroup> | ||
| 162 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT GIT|Win32'" Label="Configuration"> | ||
| 163 | <ConfigurationType>DynamicLibrary</ConfigurationType> | ||
| 164 | <UseDebugLibraries>true</UseDebugLibraries> | ||
| 165 | <PlatformToolset>v143</PlatformToolset> | ||
| 166 | <CharacterSet>MultiByte</CharacterSet> | ||
| 167 | </PropertyGroup> | ||
| 168 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.4|Win32'" Label="Configuration"> | ||
| 169 | <ConfigurationType>DynamicLibrary</ConfigurationType> | ||
| 170 | <UseDebugLibraries>true</UseDebugLibraries> | ||
| 171 | <PlatformToolset>v143</PlatformToolset> | ||
| 172 | <CharacterSet>MultiByte</CharacterSet> | ||
| 173 | </PropertyGroup> | ||
| 174 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug MoonJIT|Win32'" Label="Configuration"> | ||
| 175 | <ConfigurationType>DynamicLibrary</ConfigurationType> | ||
| 176 | <UseDebugLibraries>true</UseDebugLibraries> | ||
| 177 | <PlatformToolset>v143</PlatformToolset> | ||
| 178 | <CharacterSet>MultiByte</CharacterSet> | ||
| 179 | </PropertyGroup> | ||
| 180 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 5.3|Win32'" Label="Configuration"> | ||
| 181 | <ConfigurationType>Application</ConfigurationType> | ||
| 182 | <UseDebugLibraries>false</UseDebugLibraries> | ||
| 183 | <PlatformToolset>v143</PlatformToolset> | ||
| 184 | <WholeProgramOptimization>true</WholeProgramOptimization> | ||
| 185 | <CharacterSet>MultiByte</CharacterSet> | ||
| 186 | </PropertyGroup> | ||
| 187 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 5.4|Win32'" Label="Configuration"> | ||
| 188 | <ConfigurationType>Application</ConfigurationType> | ||
| 189 | <UseDebugLibraries>false</UseDebugLibraries> | ||
| 190 | <PlatformToolset>v143</PlatformToolset> | ||
| 191 | <WholeProgramOptimization>true</WholeProgramOptimization> | ||
| 192 | <CharacterSet>MultiByte</CharacterSet> | ||
| 193 | </PropertyGroup> | ||
| 194 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.3|x64'" Label="Configuration"> | ||
| 195 | <ConfigurationType>DynamicLibrary</ConfigurationType> | ||
| 196 | <UseDebugLibraries>true</UseDebugLibraries> | ||
| 197 | <PlatformToolset>v143</PlatformToolset> | ||
| 198 | <CharacterSet>MultiByte</CharacterSet> | ||
| 199 | </PropertyGroup> | ||
| 200 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.1|x64'" Label="Configuration"> | ||
| 201 | <ConfigurationType>DynamicLibrary</ConfigurationType> | ||
| 202 | <UseDebugLibraries>true</UseDebugLibraries> | ||
| 203 | <PlatformToolset>v143</PlatformToolset> | ||
| 204 | <CharacterSet>MultiByte</CharacterSet> | ||
| 205 | </PropertyGroup> | ||
| 206 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.2|x64'" Label="Configuration"> | ||
| 207 | <ConfigurationType>DynamicLibrary</ConfigurationType> | ||
| 208 | <UseDebugLibraries>true</UseDebugLibraries> | ||
| 209 | <PlatformToolset>v143</PlatformToolset> | ||
| 210 | <CharacterSet>MultiByte</CharacterSet> | ||
| 211 | </PropertyGroup> | ||
| 212 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT 2.1.0-beta3|x64'" Label="Configuration"> | ||
| 213 | <ConfigurationType>DynamicLibrary</ConfigurationType> | ||
| 214 | <UseDebugLibraries>true</UseDebugLibraries> | ||
| 215 | <PlatformToolset>v143</PlatformToolset> | ||
| 216 | <CharacterSet>MultiByte</CharacterSet> | ||
| 217 | </PropertyGroup> | ||
| 218 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT 2.0.5|x64'" Label="Configuration"> | ||
| 219 | <ConfigurationType>DynamicLibrary</ConfigurationType> | ||
| 220 | <UseDebugLibraries>true</UseDebugLibraries> | ||
| 221 | <PlatformToolset>v143</PlatformToolset> | ||
| 222 | <CharacterSet>MultiByte</CharacterSet> | ||
| 223 | </PropertyGroup> | ||
| 224 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT GIT|x64'" Label="Configuration"> | ||
| 225 | <ConfigurationType>DynamicLibrary</ConfigurationType> | ||
| 226 | <UseDebugLibraries>true</UseDebugLibraries> | ||
| 227 | <PlatformToolset>v143</PlatformToolset> | ||
| 228 | <CharacterSet>MultiByte</CharacterSet> | ||
| 229 | </PropertyGroup> | ||
| 230 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.4|x64'" Label="Configuration"> | ||
| 231 | <ConfigurationType>DynamicLibrary</ConfigurationType> | ||
| 232 | <UseDebugLibraries>true</UseDebugLibraries> | ||
| 233 | <PlatformToolset>v143</PlatformToolset> | ||
| 234 | <CharacterSet>MultiByte</CharacterSet> | ||
| 235 | </PropertyGroup> | ||
| 236 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug MoonJIT|x64'" Label="Configuration"> | ||
| 237 | <ConfigurationType>DynamicLibrary</ConfigurationType> | ||
| 238 | <UseDebugLibraries>true</UseDebugLibraries> | ||
| 239 | <PlatformToolset>v143</PlatformToolset> | ||
| 240 | <CharacterSet>MultiByte</CharacterSet> | ||
| 241 | </PropertyGroup> | ||
| 242 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 5.3|x64'" Label="Configuration"> | ||
| 243 | <ConfigurationType>DynamicLibrary</ConfigurationType> | ||
| 244 | <UseDebugLibraries>false</UseDebugLibraries> | ||
| 245 | <PlatformToolset>v143</PlatformToolset> | ||
| 246 | <WholeProgramOptimization>true</WholeProgramOptimization> | ||
| 247 | <CharacterSet>MultiByte</CharacterSet> | ||
| 248 | </PropertyGroup> | ||
| 249 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 5.4|x64'" Label="Configuration"> | ||
| 250 | <ConfigurationType>DynamicLibrary</ConfigurationType> | ||
| 251 | <UseDebugLibraries>false</UseDebugLibraries> | ||
| 252 | <PlatformToolset>v143</PlatformToolset> | ||
| 253 | <WholeProgramOptimization>true</WholeProgramOptimization> | ||
| 254 | <CharacterSet>MultiByte</CharacterSet> | ||
| 255 | </PropertyGroup> | ||
| 256 | <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug MoonJIT|Prospero'"> | ||
| 257 | <PlatformToolset>Clang</PlatformToolset> | ||
| 258 | </PropertyGroup> | ||
| 259 | <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release 5.3|Prospero'"> | ||
| 260 | <PlatformToolset>Clang</PlatformToolset> | ||
| 261 | </PropertyGroup> | ||
| 262 | <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release 5.4|Prospero'"> | ||
| 263 | <PlatformToolset>Clang</PlatformToolset> | ||
| 264 | </PropertyGroup> | ||
| 265 | <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug 5.3|Prospero'"> | ||
| 266 | <PlatformToolset>Clang</PlatformToolset> | ||
| 267 | </PropertyGroup> | ||
| 268 | <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug 5.2|Prospero'"> | ||
| 269 | <PlatformToolset>Clang</PlatformToolset> | ||
| 270 | </PropertyGroup> | ||
| 271 | <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug 5.1|Prospero'"> | ||
| 272 | <PlatformToolset>Clang</PlatformToolset> | ||
| 273 | </PropertyGroup> | ||
| 274 | <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug 5.4|Prospero'"> | ||
| 275 | <PlatformToolset>Clang</PlatformToolset> | ||
| 276 | </PropertyGroup> | ||
| 277 | <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT 2.1.0-beta3|Prospero'"> | ||
| 278 | <PlatformToolset>Clang</PlatformToolset> | ||
| 279 | </PropertyGroup> | ||
| 280 | <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT 2.0.5|Prospero'"> | ||
| 281 | <PlatformToolset>Clang</PlatformToolset> | ||
| 282 | </PropertyGroup> | ||
| 283 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT GIT|Prospero'" Label="Configuration"> | ||
| 284 | <PlatformToolset>Clang</PlatformToolset> | ||
| 285 | </PropertyGroup> | ||
| 286 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
| 287 | <ImportGroup Label="ExtensionSettings"> | ||
| 288 | </ImportGroup> | ||
| 289 | <ImportGroup Label="Shared"> | ||
| 290 | </ImportGroup> | ||
| 291 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug 5.3|Win32'"> | ||
| 292 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
| 293 | </ImportGroup> | ||
| 294 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.1|Win32'" Label="PropertySheets"> | ||
| 295 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
| 296 | </ImportGroup> | ||
| 297 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.2|Win32'" Label="PropertySheets"> | ||
| 298 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
| 299 | </ImportGroup> | ||
| 300 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT 2.1.0-beta3|Win32'" Label="PropertySheets"> | ||
| 301 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
| 302 | </ImportGroup> | ||
| 303 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT 2.0.5|Win32'" Label="PropertySheets"> | ||
| 304 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
| 305 | </ImportGroup> | ||
| 306 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT GIT|Win32'" Label="PropertySheets"> | ||
| 307 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
| 308 | </ImportGroup> | ||
| 309 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.4|Win32'" Label="PropertySheets"> | ||
| 310 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
| 311 | </ImportGroup> | ||
| 312 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug MoonJIT|Win32'" Label="PropertySheets"> | ||
| 313 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
| 314 | </ImportGroup> | ||
| 315 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release 5.3|Win32'"> | ||
| 316 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
| 317 | </ImportGroup> | ||
| 318 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release 5.4|Win32'" Label="PropertySheets"> | ||
| 319 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
| 320 | </ImportGroup> | ||
| 321 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug 5.3|x64'"> | ||
| 322 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
| 323 | </ImportGroup> | ||
| 324 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.1|x64'" Label="PropertySheets"> | ||
| 325 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
| 326 | </ImportGroup> | ||
| 327 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.2|x64'" Label="PropertySheets"> | ||
| 328 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
| 329 | </ImportGroup> | ||
| 330 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT 2.1.0-beta3|x64'" Label="PropertySheets"> | ||
| 331 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
| 332 | </ImportGroup> | ||
| 333 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT 2.0.5|x64'" Label="PropertySheets"> | ||
| 334 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
| 335 | </ImportGroup> | ||
| 336 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT GIT|x64'" Label="PropertySheets"> | ||
| 337 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
| 338 | </ImportGroup> | ||
| 339 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.4|x64'" Label="PropertySheets"> | ||
| 340 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
| 341 | </ImportGroup> | ||
| 342 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug MoonJIT|x64'" Label="PropertySheets"> | ||
| 343 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
| 344 | </ImportGroup> | ||
| 345 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release 5.3|x64'"> | ||
| 346 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
| 347 | </ImportGroup> | ||
| 348 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release 5.4|x64'" Label="PropertySheets"> | ||
| 349 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
| 350 | </ImportGroup> | ||
| 351 | <PropertyGroup Label="UserMacros" /> | ||
| 352 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.3|x64'"> | ||
| 353 | <TargetExt>.dll</TargetExt> | ||
| 354 | <OutDir>$(SolutionDir)_Output\$(ProjectName)\$(PlatformName)\$(Configuration)\</OutDir> | ||
| 355 | <IntDir>$(SolutionDir)_Tmp\$(ProjectName)\$(PlatformName)\$(Configuration)\</IntDir> | ||
| 356 | </PropertyGroup> | ||
| 357 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.1|x64'"> | ||
| 358 | <TargetExt>.dll</TargetExt> | ||
| 359 | <OutDir>$(SolutionDir)_Output\$(ProjectName)\$(PlatformName)\$(Configuration)\</OutDir> | ||
| 360 | <IntDir>$(SolutionDir)_Tmp\$(ProjectName)\$(PlatformName)\$(Configuration)\</IntDir> | ||
| 361 | </PropertyGroup> | ||
| 362 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.2|x64'"> | ||
| 363 | <TargetExt>.dll</TargetExt> | ||
| 364 | <OutDir>$(SolutionDir)_Output\$(ProjectName)\$(PlatformName)\$(Configuration)\</OutDir> | ||
| 365 | <IntDir>$(SolutionDir)_Tmp\$(ProjectName)\$(PlatformName)\$(Configuration)\</IntDir> | ||
| 366 | </PropertyGroup> | ||
| 367 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT 2.1.0-beta3|x64'"> | ||
| 368 | <TargetExt>.dll</TargetExt> | ||
| 369 | <OutDir>$(SolutionDir)_Output\$(ProjectName)\$(PlatformName)\$(Configuration)\</OutDir> | ||
| 370 | <IntDir>$(SolutionDir)_Tmp\$(ProjectName)\$(PlatformName)\$(Configuration)\</IntDir> | ||
| 371 | </PropertyGroup> | ||
| 372 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT 2.0.5|x64'"> | ||
| 373 | <TargetExt>.dll</TargetExt> | ||
| 374 | <OutDir>$(SolutionDir)_Output\$(ProjectName)\$(PlatformName)\$(Configuration)\</OutDir> | ||
| 375 | <IntDir>$(SolutionDir)_Tmp\$(ProjectName)\$(PlatformName)\$(Configuration)\</IntDir> | ||
| 376 | </PropertyGroup> | ||
| 377 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT GIT|x64'"> | ||
| 378 | <TargetExt>.dll</TargetExt> | ||
| 379 | <OutDir>$(SolutionDir)_Output\$(ProjectName)\$(PlatformName)\$(Configuration)\</OutDir> | ||
| 380 | <IntDir>$(SolutionDir)_Tmp\$(ProjectName)\$(PlatformName)\$(Configuration)\</IntDir> | ||
| 381 | </PropertyGroup> | ||
| 382 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.4|x64'"> | ||
| 383 | <TargetExt>.dll</TargetExt> | ||
| 384 | <OutDir>$(SolutionDir)_Output\$(ProjectName)\$(PlatformName)\$(Configuration)\</OutDir> | ||
| 385 | <IntDir>$(SolutionDir)_Tmp\$(ProjectName)\$(PlatformName)\$(Configuration)\</IntDir> | ||
| 386 | </PropertyGroup> | ||
| 387 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug MoonJIT|x64'"> | ||
| 388 | <TargetExt>.dll</TargetExt> | ||
| 389 | <OutDir>$(SolutionDir)_Output\$(ProjectName)\$(PlatformName)\$(Configuration)\</OutDir> | ||
| 390 | <IntDir>$(SolutionDir)_Tmp\$(ProjectName)\$(PlatformName)\$(Configuration)\</IntDir> | ||
| 391 | </PropertyGroup> | ||
| 392 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.3|Win32'"> | ||
| 393 | <TargetExt>.dll</TargetExt> | ||
| 394 | <OutDir>$(SolutionDir)_Output\$(ProjectName)\$(PlatformName)\$(Configuration)\</OutDir> | ||
| 395 | <IntDir>$(SolutionDir)_Tmp\$(ProjectName)\$(PlatformName)\$(Configuration)\</IntDir> | ||
| 396 | </PropertyGroup> | ||
| 397 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.1|Win32'"> | ||
| 398 | <TargetExt>.dll</TargetExt> | ||
| 399 | <OutDir>$(SolutionDir)_Output\$(ProjectName)\$(PlatformName)\$(Configuration)\</OutDir> | ||
| 400 | <IntDir>$(SolutionDir)_Tmp\$(ProjectName)\$(PlatformName)\$(Configuration)\</IntDir> | ||
| 401 | </PropertyGroup> | ||
| 402 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.2|Win32'"> | ||
| 403 | <TargetExt>.dll</TargetExt> | ||
| 404 | <OutDir>$(SolutionDir)_Output\$(ProjectName)\$(PlatformName)\$(Configuration)\</OutDir> | ||
| 405 | <IntDir>$(SolutionDir)_Tmp\$(ProjectName)\$(PlatformName)\$(Configuration)\</IntDir> | ||
| 406 | </PropertyGroup> | ||
| 407 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT 2.1.0-beta3|Win32'"> | ||
| 408 | <TargetExt>.dll</TargetExt> | ||
| 409 | <OutDir>$(SolutionDir)_Output\$(ProjectName)\$(PlatformName)\$(Configuration)\</OutDir> | ||
| 410 | <IntDir>$(SolutionDir)_Tmp\$(ProjectName)\$(PlatformName)\$(Configuration)\</IntDir> | ||
| 411 | </PropertyGroup> | ||
| 412 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT 2.0.5|Win32'"> | ||
| 413 | <TargetExt>.dll</TargetExt> | ||
| 414 | <OutDir>$(SolutionDir)_Output\$(ProjectName)\$(PlatformName)\$(Configuration)\</OutDir> | ||
| 415 | <IntDir>$(SolutionDir)_Tmp\$(ProjectName)\$(PlatformName)\$(Configuration)\</IntDir> | ||
| 416 | </PropertyGroup> | ||
| 417 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT GIT|Win32'"> | ||
| 418 | <TargetExt>.dll</TargetExt> | ||
| 419 | <OutDir>$(SolutionDir)_Output\$(ProjectName)\$(PlatformName)\$(Configuration)\</OutDir> | ||
| 420 | <IntDir>$(SolutionDir)_Tmp\$(ProjectName)\$(PlatformName)\$(Configuration)\</IntDir> | ||
| 421 | </PropertyGroup> | ||
| 422 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.4|Win32'"> | ||
| 423 | <TargetExt>.dll</TargetExt> | ||
| 424 | <OutDir>$(SolutionDir)_Output\$(ProjectName)\$(PlatformName)\$(Configuration)\</OutDir> | ||
| 425 | <IntDir>$(SolutionDir)_Tmp\$(ProjectName)\$(PlatformName)\$(Configuration)\</IntDir> | ||
| 426 | </PropertyGroup> | ||
| 427 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug MoonJIT|Win32'"> | ||
| 428 | <TargetExt>.dll</TargetExt> | ||
| 429 | <OutDir>$(SolutionDir)_Output\$(ProjectName)\$(PlatformName)\$(Configuration)\</OutDir> | ||
| 430 | <IntDir>$(SolutionDir)_Tmp\$(ProjectName)\$(PlatformName)\$(Configuration)\</IntDir> | ||
| 431 | </PropertyGroup> | ||
| 432 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 5.3|x64'"> | ||
| 433 | <OutDir>$(SolutionDir)_Output\$(ProjectName)\$(PlatformName)\$(Configuration)\</OutDir> | ||
| 434 | <IntDir>$(SolutionDir)_Tmp\$(ProjectName)\$(PlatformName)\$(Configuration)\</IntDir> | ||
| 435 | </PropertyGroup> | ||
| 436 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 5.4|x64'"> | ||
| 437 | <OutDir>$(SolutionDir)_Output\$(ProjectName)\$(PlatformName)\$(Configuration)\</OutDir> | ||
| 438 | <IntDir>$(SolutionDir)_Tmp\$(ProjectName)\$(PlatformName)\$(Configuration)\</IntDir> | ||
| 439 | </PropertyGroup> | ||
| 440 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release 5.3|x64'"> | ||
| 441 | <ClCompile> | ||
| 442 | <WarningLevel>Level3</WarningLevel> | ||
| 443 | <Optimization>MaxSpeed</Optimization> | ||
| 444 | <FunctionLevelLinking>true</FunctionLevelLinking> | ||
| 445 | <IntrinsicFunctions>true</IntrinsicFunctions> | ||
| 446 | <SDLCheck>true</SDLCheck> | ||
| 447 | <ConformanceMode>true</ConformanceMode> | ||
| 448 | <AdditionalIncludeDirectories>$(SolutionDir)..\Lua53\include;$(SolutionDir)Lanes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
| 449 | <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName> | ||
| 450 | <PreprocessorDefinitions>_WINDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
| 451 | <LanguageStandard>stdcpp20</LanguageStandard> | ||
| 452 | </ClCompile> | ||
| 453 | <Link> | ||
| 454 | <EnableCOMDATFolding>true</EnableCOMDATFolding> | ||
| 455 | <OptimizeReferences>true</OptimizeReferences> | ||
| 456 | <AdditionalDependencies>lua53.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
| 457 | <AdditionalLibraryDirectories>$(SolutionDir)..\Lua53\bin\$(Platform)\Release</AdditionalLibraryDirectories> | ||
| 458 | </Link> | ||
| 459 | <PostBuildEvent> | ||
| 460 | <Command>xcopy /R /F /Y /I "$(TargetPath)" $(SolutionDir)..\Lua53\bin\$(Platform)\Release\</Command> | ||
| 461 | <Message>Copy to Lua 5.3</Message> | ||
| 462 | </PostBuildEvent> | ||
| 463 | </ItemDefinitionGroup> | ||
| 464 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release 5.4|x64'"> | ||
| 465 | <ClCompile> | ||
| 466 | <WarningLevel>Level3</WarningLevel> | ||
| 467 | <Optimization>MaxSpeed</Optimization> | ||
| 468 | <FunctionLevelLinking>true</FunctionLevelLinking> | ||
| 469 | <IntrinsicFunctions>true</IntrinsicFunctions> | ||
| 470 | <SDLCheck>true</SDLCheck> | ||
| 471 | <ConformanceMode>true</ConformanceMode> | ||
| 472 | <AdditionalIncludeDirectories>$(SolutionDir)..\Lua54\include;$(SolutionDir)Lanes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
| 473 | <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName> | ||
| 474 | <PreprocessorDefinitions>_WINDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
| 475 | <LanguageStandard>stdcpp20</LanguageStandard> | ||
| 476 | </ClCompile> | ||
| 477 | <Link> | ||
| 478 | <EnableCOMDATFolding>true</EnableCOMDATFolding> | ||
| 479 | <OptimizeReferences>true</OptimizeReferences> | ||
| 480 | <AdditionalDependencies>lua54.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
| 481 | <AdditionalLibraryDirectories>$(SolutionDir)..\Lua54\bin\$(Platform)\Release</AdditionalLibraryDirectories> | ||
| 482 | </Link> | ||
| 483 | <PostBuildEvent> | ||
| 484 | <Command>xcopy /R /F /Y /I "$(TargetPath)" $(SolutionDir)..\framework\</Command> | ||
| 485 | <Message>Copy to framework</Message> | ||
| 486 | </PostBuildEvent> | ||
| 487 | </ItemDefinitionGroup> | ||
| 488 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.3|Win32'"> | ||
| 489 | <ClCompile> | ||
| 490 | <WarningLevel>Level3</WarningLevel> | ||
| 491 | <Optimization>Disabled</Optimization> | ||
| 492 | <SDLCheck>true</SDLCheck> | ||
| 493 | <ConformanceMode>true</ConformanceMode> | ||
| 494 | <AdditionalIncludeDirectories>$(SolutionDir)..\Lua53\include;$(SolutionDir)Lanes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
| 495 | <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName> | ||
| 496 | <LanguageStandard>stdcpp20</LanguageStandard> | ||
| 497 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | ||
| 498 | </ClCompile> | ||
| 499 | <PostBuildEvent> | ||
| 500 | <Command>xcopy /R /F /Y /I "$(TargetPath)" $(SolutionDir)..\Lua53\bin\$(Platform)\Debug\</Command> | ||
| 501 | <Message>Lua 5.3</Message> | ||
| 502 | </PostBuildEvent> | ||
| 503 | <Link> | ||
| 504 | <AdditionalDependencies>lua53.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
| 505 | <AdditionalLibraryDirectories>$(SolutionDir)..\Lua53\bin\$(Platform)\Debug</AdditionalLibraryDirectories> | ||
| 506 | </Link> | ||
| 507 | </ItemDefinitionGroup> | ||
| 508 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.1|Win32'"> | ||
| 509 | <ClCompile> | ||
| 510 | <WarningLevel>Level3</WarningLevel> | ||
| 511 | <Optimization>Disabled</Optimization> | ||
| 512 | <SDLCheck>true</SDLCheck> | ||
| 513 | <ConformanceMode>true</ConformanceMode> | ||
| 514 | <AdditionalIncludeDirectories>$(SolutionDir)..\Lua51\include;$(SolutionDir)Lanes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
| 515 | <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName> | ||
| 516 | <LanguageStandard>stdcpp20</LanguageStandard> | ||
| 517 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | ||
| 518 | </ClCompile> | ||
| 519 | <PostBuildEvent> | ||
| 520 | <Command>xcopy /R /F /Y /I "$(TargetPath)" $(SolutionDir)..\Lua51\bin\$(Platform)\Debug\</Command> | ||
| 521 | <Message>Copy to Lua 5.2</Message> | ||
| 522 | </PostBuildEvent> | ||
| 523 | <Link> | ||
| 524 | <AdditionalDependencies>lua52.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
| 525 | <AdditionalLibraryDirectories>$(SolutionDir)..\Lua52\bin\$(Platform)\Debug</AdditionalLibraryDirectories> | ||
| 526 | </Link> | ||
| 527 | </ItemDefinitionGroup> | ||
| 528 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.2|Win32'"> | ||
| 529 | <ClCompile> | ||
| 530 | <WarningLevel>Level3</WarningLevel> | ||
| 531 | <Optimization>Disabled</Optimization> | ||
| 532 | <SDLCheck>true</SDLCheck> | ||
| 533 | <ConformanceMode>true</ConformanceMode> | ||
| 534 | <AdditionalIncludeDirectories>$(SolutionDir)..\Lua51\include;$(SolutionDir)Lanes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
| 535 | <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName> | ||
| 536 | <LanguageStandard>stdcpp20</LanguageStandard> | ||
| 537 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | ||
| 538 | </ClCompile> | ||
| 539 | <PostBuildEvent> | ||
| 540 | <Command>xcopy /R /F /Y /I "$(TargetPath)" $(SolutionDir)..\Lua52\bin\$(Platform)\Debug\</Command> | ||
| 541 | <Message>Copy to Lua 5.2</Message> | ||
| 542 | </PostBuildEvent> | ||
| 543 | <Link> | ||
| 544 | <AdditionalDependencies>lua51.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
| 545 | <AdditionalLibraryDirectories>$(SolutionDir)..\Lua51\bin\$(Platform)\Debug</AdditionalLibraryDirectories> | ||
| 546 | </Link> | ||
| 547 | </ItemDefinitionGroup> | ||
| 548 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT 2.1.0-beta3|Win32'"> | ||
| 549 | <ClCompile> | ||
| 550 | <WarningLevel>Level3</WarningLevel> | ||
| 551 | <Optimization>Disabled</Optimization> | ||
| 552 | <SDLCheck>true</SDLCheck> | ||
| 553 | <ConformanceMode>true</ConformanceMode> | ||
| 554 | <AdditionalIncludeDirectories>$(SolutionDir)..\LuaJIT-2.1.0-beta3\src;$(SolutionDir)Lanes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
| 555 | <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName> | ||
| 556 | <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
| 557 | <LanguageStandard>stdcpp20</LanguageStandard> | ||
| 558 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | ||
| 559 | </ClCompile> | ||
| 560 | <PostBuildEvent> | ||
| 561 | <Command>xcopy /R /F /Y /I "$(TargetPath)" $(SolutionDir)..\LuaJIT-2.1.0-beta3\bin\$(Platform)\</Command> | ||
| 562 | <Message>Copy to LuaJIT2</Message> | ||
| 563 | </PostBuildEvent> | ||
| 564 | <Link> | ||
| 565 | <AdditionalDependencies>lua51.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
| 566 | <AdditionalLibraryDirectories>$(SolutionDir)..\LuaJIT-2.1.0-beta3\bin\$(Platform);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | ||
| 567 | </Link> | ||
| 568 | </ItemDefinitionGroup> | ||
| 569 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT 2.0.5|Win32'"> | ||
| 570 | <ClCompile> | ||
| 571 | <WarningLevel>Level3</WarningLevel> | ||
| 572 | <Optimization>Disabled</Optimization> | ||
| 573 | <SDLCheck>true</SDLCheck> | ||
| 574 | <ConformanceMode>true</ConformanceMode> | ||
| 575 | <AdditionalIncludeDirectories>$(SolutionDir)..\LuaJIT-GIT\src;$(SolutionDir)Lanes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
| 576 | <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName> | ||
| 577 | <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
| 578 | <LanguageStandard>stdcpp20</LanguageStandard> | ||
| 579 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | ||
| 580 | </ClCompile> | ||
| 581 | <PostBuildEvent> | ||
| 582 | <Command>xcopy /R /F /Y /I "$(TargetPath)" $(SolutionDir)..\LuaJIT-2.0.5\bin\$(Platform)\</Command> | ||
| 583 | <Message>Copy to LuaJIT2</Message> | ||
| 584 | </PostBuildEvent> | ||
| 585 | <Link> | ||
| 586 | <AdditionalDependencies>lua51.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
| 587 | <AdditionalLibraryDirectories>$(SolutionDir)..\LuaJIT-2.0.5\bin\$(Platform);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | ||
| 588 | </Link> | ||
| 589 | </ItemDefinitionGroup> | ||
| 590 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT GIT|Win32'"> | ||
| 591 | <ClCompile> | ||
| 592 | <WarningLevel>Level3</WarningLevel> | ||
| 593 | <Optimization>Disabled</Optimization> | ||
| 594 | <SDLCheck>true</SDLCheck> | ||
| 595 | <ConformanceMode>true</ConformanceMode> | ||
| 596 | <AdditionalIncludeDirectories>$(SolutionDir)..\LuaJIT-GIT\src;$(SolutionDir)Lanes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
| 597 | <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName> | ||
| 598 | <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
| 599 | <LanguageStandard>stdcpp20</LanguageStandard> | ||
| 600 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | ||
| 601 | </ClCompile> | ||
| 602 | <PostBuildEvent> | ||
| 603 | <Command>xcopy /R /F /Y /I "$(TargetPath)" $(SolutionDir)..\LuaJIT-2.0.5\bin\$(Platform)\</Command> | ||
| 604 | <Message>Copy to LuaJITGIT</Message> | ||
| 605 | </PostBuildEvent> | ||
| 606 | <Link> | ||
| 607 | <AdditionalDependencies>lua51.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
| 608 | <AdditionalLibraryDirectories>$(SolutionDir)..\LuaJIT-GIT\bin\$(Platform);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | ||
| 609 | </Link> | ||
| 610 | </ItemDefinitionGroup> | ||
| 611 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.4|Win32'"> | ||
| 612 | <ClCompile> | ||
| 613 | <WarningLevel>Level3</WarningLevel> | ||
| 614 | <Optimization>Disabled</Optimization> | ||
| 615 | <SDLCheck>true</SDLCheck> | ||
| 616 | <ConformanceMode>true</ConformanceMode> | ||
| 617 | <AdditionalIncludeDirectories>$(SolutionDir)..\Lua54\include;$(SolutionDir)Lanes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
| 618 | <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName> | ||
| 619 | <LanguageStandard>stdcpp20</LanguageStandard> | ||
| 620 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | ||
| 621 | </ClCompile> | ||
| 622 | <PostBuildEvent> | ||
| 623 | <Command>xcopy /R /F /Y /I "$(TargetPath)" $(SolutionDir)..\framework\</Command> | ||
| 624 | <Message>Copy to framework</Message> | ||
| 625 | </PostBuildEvent> | ||
| 626 | <Link> | ||
| 627 | <AdditionalDependencies>lua54.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
| 628 | <AdditionalLibraryDirectories>$(SolutionDir)..\Lua54\bin\$(Platform)\Debug</AdditionalLibraryDirectories> | ||
| 629 | </Link> | ||
| 630 | </ItemDefinitionGroup> | ||
| 631 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug MoonJIT|Win32'"> | ||
| 632 | <ClCompile> | ||
| 633 | <WarningLevel>Level3</WarningLevel> | ||
| 634 | <Optimization>Disabled</Optimization> | ||
| 635 | <SDLCheck>true</SDLCheck> | ||
| 636 | <ConformanceMode>true</ConformanceMode> | ||
| 637 | <AdditionalIncludeDirectories>$(SolutionDir)..\MoonJIT\src;$(SolutionDir)Lanes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
| 638 | <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName> | ||
| 639 | <LanguageStandard>stdcpp20</LanguageStandard> | ||
| 640 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | ||
| 641 | </ClCompile> | ||
| 642 | <PostBuildEvent> | ||
| 643 | <Command>xcopy /R /F /Y /I "$(TargetPath)" $(SolutionDir)..\MoonJIT\bin\$(Platform)\</Command> | ||
| 644 | <Message>Copy to MoonJIT</Message> | ||
| 645 | </PostBuildEvent> | ||
| 646 | <Link> | ||
| 647 | <AdditionalDependencies>lua51.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
| 648 | <AdditionalLibraryDirectories>$(SolutionDir)..\MoonJIT\bin\$(Platform);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | ||
| 649 | </Link> | ||
| 650 | </ItemDefinitionGroup> | ||
| 651 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.3|x64'"> | ||
| 652 | <ClCompile> | ||
| 653 | <WarningLevel>Level3</WarningLevel> | ||
| 654 | <Optimization>Disabled</Optimization> | ||
| 655 | <SDLCheck>true</SDLCheck> | ||
| 656 | <ConformanceMode>true</ConformanceMode> | ||
| 657 | <AdditionalIncludeDirectories>$(SolutionDir)..\Lua53\include;$(SolutionDir)Lanes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
| 658 | <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName> | ||
| 659 | <PreprocessorDefinitions>_WINDLL;_DEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
| 660 | <LanguageStandard>stdcpp20</LanguageStandard> | ||
| 661 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | ||
| 662 | </ClCompile> | ||
| 663 | <PostBuildEvent> | ||
| 664 | <Command>xcopy /R /F /Y /I "$(TargetPath)" $(SolutionDir)..\Lua53\bin\$(Platform)\Debug\</Command> | ||
| 665 | <Message>Copy to Lua 5.3</Message> | ||
| 666 | </PostBuildEvent> | ||
| 667 | <Link> | ||
| 668 | <AdditionalDependencies>lua53.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
| 669 | <AdditionalLibraryDirectories>$(SolutionDir)..\Lua53\bin\$(Platform)\Debug</AdditionalLibraryDirectories> | ||
| 670 | </Link> | ||
| 671 | </ItemDefinitionGroup> | ||
| 672 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.1|x64'"> | ||
| 673 | <ClCompile> | ||
| 674 | <WarningLevel>Level3</WarningLevel> | ||
| 675 | <Optimization>Disabled</Optimization> | ||
| 676 | <SDLCheck>true</SDLCheck> | ||
| 677 | <ConformanceMode>true</ConformanceMode> | ||
| 678 | <AdditionalIncludeDirectories>$(SolutionDir)..\Lua51\include;$(SolutionDir)Lanes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
| 679 | <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName> | ||
| 680 | <PreprocessorDefinitions>_WINDLL;_DEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
| 681 | <LanguageStandard>stdcpp20</LanguageStandard> | ||
| 682 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | ||
| 683 | </ClCompile> | ||
| 684 | <PostBuildEvent> | ||
| 685 | <Command>xcopy /R /F /Y /I "$(TargetPath)" $(SolutionDir)..\Lua51\bin\$(Platform)\Debug\</Command> | ||
| 686 | <Message>Copy to Lua 5.1</Message> | ||
| 687 | </PostBuildEvent> | ||
| 688 | <Link> | ||
| 689 | <AdditionalDependencies>lua51.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
| 690 | <AdditionalLibraryDirectories>$(SolutionDir)..\Lua51\bin\$(Platform)\Debug</AdditionalLibraryDirectories> | ||
| 691 | </Link> | ||
| 692 | </ItemDefinitionGroup> | ||
| 693 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.2|x64'"> | ||
| 694 | <ClCompile> | ||
| 695 | <WarningLevel>Level3</WarningLevel> | ||
| 696 | <Optimization>Disabled</Optimization> | ||
| 697 | <SDLCheck>true</SDLCheck> | ||
| 698 | <ConformanceMode>true</ConformanceMode> | ||
| 699 | <AdditionalIncludeDirectories>$(SolutionDir)..\Lua52\include;$(SolutionDir)Lanes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
| 700 | <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName> | ||
| 701 | <PreprocessorDefinitions>_WINDLL;_DEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
| 702 | <LanguageStandard>stdcpp20</LanguageStandard> | ||
| 703 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | ||
| 704 | </ClCompile> | ||
| 705 | <PostBuildEvent> | ||
| 706 | <Command>xcopy /R /F /Y /I "$(TargetPath)" $(SolutionDir)..\Lua52\bin\$(Platform)\Debug\</Command> | ||
| 707 | <Message>Copy to Lua 5.2</Message> | ||
| 708 | </PostBuildEvent> | ||
| 709 | <Link> | ||
| 710 | <AdditionalDependencies>lua52.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
| 711 | <AdditionalLibraryDirectories>$(SolutionDir)..\Lua52\bin\$(Platform)\Debug</AdditionalLibraryDirectories> | ||
| 712 | </Link> | ||
| 713 | </ItemDefinitionGroup> | ||
| 714 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT 2.1.0-beta3|x64'"> | ||
| 715 | <ClCompile> | ||
| 716 | <WarningLevel>Level3</WarningLevel> | ||
| 717 | <Optimization>Disabled</Optimization> | ||
| 718 | <SDLCheck>true</SDLCheck> | ||
| 719 | <ConformanceMode>true</ConformanceMode> | ||
| 720 | <AdditionalIncludeDirectories>$(SolutionDir)..\LuaJIT-2.1.0-beta3\src;$(SolutionDir)Lanes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
| 721 | <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName> | ||
| 722 | <PreprocessorDefinitions>_WINDLL;_DEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
| 723 | <LanguageStandard>stdcpp20</LanguageStandard> | ||
| 724 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | ||
| 725 | </ClCompile> | ||
| 726 | <PostBuildEvent> | ||
| 727 | <Command>xcopy /R /F /Y /I "$(TargetPath)" $(SolutionDir)..\LuaJIT-2.1.0-beta3\bin\$(Platform)\</Command> | ||
| 728 | <Message>Copy to LuaJIT2</Message> | ||
| 729 | </PostBuildEvent> | ||
| 730 | <Link> | ||
| 731 | <AdditionalDependencies>lua51.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
| 732 | <AdditionalLibraryDirectories>$(SolutionDir)..\LuaJIT-2.1.0-beta3\bin\$(Platform);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | ||
| 733 | </Link> | ||
| 734 | </ItemDefinitionGroup> | ||
| 735 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT 2.0.5|x64'"> | ||
| 736 | <ClCompile> | ||
| 737 | <WarningLevel>Level3</WarningLevel> | ||
| 738 | <Optimization>Disabled</Optimization> | ||
| 739 | <SDLCheck>true</SDLCheck> | ||
| 740 | <ConformanceMode>true</ConformanceMode> | ||
| 741 | <AdditionalIncludeDirectories>$(SolutionDir)..\LuaJIT-GIT\src;$(SolutionDir)Lanes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
| 742 | <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName> | ||
| 743 | <PreprocessorDefinitions>_WINDLL;_DEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
| 744 | <LanguageStandard>stdcpp20</LanguageStandard> | ||
| 745 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | ||
| 746 | </ClCompile> | ||
| 747 | <PostBuildEvent> | ||
| 748 | <Command>xcopy /R /F /Y /I "$(TargetPath)" $(SolutionDir)..\LuaJIT-2.0.5\bin\$(Platform)\</Command> | ||
| 749 | <Message>Copy to LuaJIT2</Message> | ||
| 750 | </PostBuildEvent> | ||
| 751 | <Link> | ||
| 752 | <AdditionalDependencies>lua51.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
| 753 | <AdditionalLibraryDirectories>$(SolutionDir)..\LuaJIT-2.0.5\bin\$(Platform);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | ||
| 754 | </Link> | ||
| 755 | </ItemDefinitionGroup> | ||
| 756 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT GIT|x64'"> | ||
| 757 | <ClCompile> | ||
| 758 | <WarningLevel>Level3</WarningLevel> | ||
| 759 | <Optimization>Disabled</Optimization> | ||
| 760 | <SDLCheck>true</SDLCheck> | ||
| 761 | <ConformanceMode>true</ConformanceMode> | ||
| 762 | <AdditionalIncludeDirectories>$(SolutionDir)..\LuaJIT-GIT\src;$(SolutionDir)Lanes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
| 763 | <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName> | ||
| 764 | <PreprocessorDefinitions>_WINDLL;_DEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
| 765 | <LanguageStandard>stdcpp20</LanguageStandard> | ||
| 766 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | ||
| 767 | </ClCompile> | ||
| 768 | <PostBuildEvent> | ||
| 769 | <Command>xcopy /R /F /Y /I "$(TargetPath)" $(SolutionDir)..\LuaJIT-GIT\bin\$(Platform)\</Command> | ||
| 770 | <Message>Copy to LuaJITGIT</Message> | ||
| 771 | </PostBuildEvent> | ||
| 772 | <Link> | ||
| 773 | <AdditionalDependencies>lua51.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
| 774 | <AdditionalLibraryDirectories>$(SolutionDir)..\LuaJIT-GIT\bin\$(Platform);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | ||
| 775 | </Link> | ||
| 776 | </ItemDefinitionGroup> | ||
| 777 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.4|x64'"> | ||
| 778 | <ClCompile> | ||
| 779 | <WarningLevel>Level3</WarningLevel> | ||
| 780 | <Optimization>Disabled</Optimization> | ||
| 781 | <SDLCheck>true</SDLCheck> | ||
| 782 | <ConformanceMode>true</ConformanceMode> | ||
| 783 | <AdditionalIncludeDirectories>$(SolutionDir)..\Lua54\include;$(SolutionDir)Lanes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
| 784 | <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName> | ||
| 785 | <PreprocessorDefinitions>_WINDLL;_DEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
| 786 | <LanguageStandard>stdcpp20</LanguageStandard> | ||
| 787 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | ||
| 788 | </ClCompile> | ||
| 789 | <PostBuildEvent> | ||
| 790 | <Command>xcopy /R /F /Y /I "$(TargetPath)" $(SolutionDir)..\framework\</Command> | ||
| 791 | <Message>Copy to framework</Message> | ||
| 792 | </PostBuildEvent> | ||
| 793 | <Link> | ||
| 794 | <AdditionalDependencies>lua54.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
| 795 | <AdditionalLibraryDirectories>$(SolutionDir)..\Lua54\bin\$(Platform)\Debug</AdditionalLibraryDirectories> | ||
| 796 | </Link> | ||
| 797 | </ItemDefinitionGroup> | ||
| 798 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug MoonJIT|x64'"> | ||
| 799 | <ClCompile> | ||
| 800 | <WarningLevel>Level3</WarningLevel> | ||
| 801 | <Optimization>Disabled</Optimization> | ||
| 802 | <SDLCheck>true</SDLCheck> | ||
| 803 | <ConformanceMode>true</ConformanceMode> | ||
| 804 | <AdditionalIncludeDirectories>$(SolutionDir)..\MoonJIT\src;$(SolutionDir)Lanes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
| 805 | <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName> | ||
| 806 | <PreprocessorDefinitions>_WINDLL;_DEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
| 807 | <LanguageStandard>stdcpp20</LanguageStandard> | ||
| 808 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | ||
| 809 | </ClCompile> | ||
| 810 | <PostBuildEvent> | ||
| 811 | <Command>xcopy /R /F /Y /I "$(TargetPath)" $(SolutionDir)..\MoonJIT\bin\$(Platform)\</Command> | ||
| 812 | <Message>Copy to MoonJIT</Message> | ||
| 813 | </PostBuildEvent> | ||
| 814 | <Link> | ||
| 815 | <AdditionalDependencies>lua51.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
| 816 | <AdditionalLibraryDirectories>$(SolutionDir)..\MoonJIT\bin\$(Platform);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | ||
| 817 | </Link> | ||
| 818 | </ItemDefinitionGroup> | ||
| 819 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release 5.3|Win32'"> | ||
| 820 | <ClCompile> | ||
| 821 | <WarningLevel>Level3</WarningLevel> | ||
| 822 | <Optimization>MaxSpeed</Optimization> | ||
| 823 | <FunctionLevelLinking>true</FunctionLevelLinking> | ||
| 824 | <IntrinsicFunctions>true</IntrinsicFunctions> | ||
| 825 | <SDLCheck>true</SDLCheck> | ||
| 826 | <ConformanceMode>true</ConformanceMode> | ||
| 827 | <AdditionalIncludeDirectories>$(SolutionDir)..\Lua53\include;$(SolutionDir)Lanes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
| 828 | <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName> | ||
| 829 | <LanguageStandard>stdcpp20</LanguageStandard> | ||
| 830 | </ClCompile> | ||
| 831 | <Link> | ||
| 832 | <EnableCOMDATFolding>true</EnableCOMDATFolding> | ||
| 833 | <OptimizeReferences>true</OptimizeReferences> | ||
| 834 | <AdditionalDependencies>lua53.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
| 835 | <AdditionalLibraryDirectories>$(SolutionDir)..\Lua53\bin\$(Platform)\Release</AdditionalLibraryDirectories> | ||
| 836 | </Link> | ||
| 837 | </ItemDefinitionGroup> | ||
| 838 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release 5.4|Win32'"> | ||
| 839 | <ClCompile> | ||
| 840 | <WarningLevel>Level3</WarningLevel> | ||
| 841 | <Optimization>MaxSpeed</Optimization> | ||
| 842 | <FunctionLevelLinking>true</FunctionLevelLinking> | ||
| 843 | <IntrinsicFunctions>true</IntrinsicFunctions> | ||
| 844 | <SDLCheck>true</SDLCheck> | ||
| 845 | <ConformanceMode>true</ConformanceMode> | ||
| 846 | <AdditionalIncludeDirectories>$(SolutionDir)..\Lua54\include;$(SolutionDir)Lanes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
| 847 | <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName> | ||
| 848 | <LanguageStandard>stdcpp20</LanguageStandard> | ||
| 849 | </ClCompile> | ||
| 850 | <Link> | ||
| 851 | <EnableCOMDATFolding>true</EnableCOMDATFolding> | ||
| 852 | <OptimizeReferences>true</OptimizeReferences> | ||
| 853 | <AdditionalDependencies>lua54.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
| 854 | <AdditionalLibraryDirectories>$(SolutionDir)..\Lua54\bin\$(Platform)\Release</AdditionalLibraryDirectories> | ||
| 855 | </Link> | ||
| 856 | </ItemDefinitionGroup> | ||
| 857 | <ItemGroup> | ||
| 858 | <ClCompile Include="..\src\compat.cpp" /> | ||
| 859 | <ClCompile Include="..\src\deep.cpp" /> | ||
| 860 | <ClCompile Include="deep_userdata_example.cpp" /> | ||
| 861 | </ItemGroup> | ||
| 862 | <ItemGroup> | ||
| 863 | <ClInclude Include="..\src\compat.hpp" /> | ||
| 864 | <ClInclude Include="..\src\deep.hpp" /> | ||
| 865 | <ClInclude Include="..\src\lanesconf.h" /> | ||
| 866 | <ClInclude Include="..\src\macros_and_utils.hpp" /> | ||
| 867 | <ClInclude Include="..\src\platform.h" /> | ||
| 868 | <ClInclude Include="..\src\uniquekey.hpp" /> | ||
| 869 | </ItemGroup> | ||
| 870 | <ItemGroup> | ||
| 871 | <None Include="deeptest.lua" /> | ||
| 872 | </ItemGroup> | ||
| 873 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
| 874 | <ImportGroup Label="ExtensionTargets"> | ||
| 875 | </ImportGroup> | ||
| 876 | </Project> \ No newline at end of file | ||
diff --git a/deep_userdata_example/deep_userdata_example.vcxproj.filters b/deep_userdata_example/deep_userdata_example.vcxproj.filters new file mode 100644 index 0000000..1e8f8c1 --- /dev/null +++ b/deep_userdata_example/deep_userdata_example.vcxproj.filters | |||
| @@ -0,0 +1,53 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
| 3 | <ItemGroup> | ||
| 4 | <Filter Include="Source Files"> | ||
| 5 | <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> | ||
| 6 | <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> | ||
| 7 | </Filter> | ||
| 8 | <Filter Include="Resource Files"> | ||
| 9 | <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> | ||
| 10 | <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions> | ||
| 11 | </Filter> | ||
| 12 | <Filter Include="Lanes"> | ||
| 13 | <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> | ||
| 14 | <Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions> | ||
| 15 | </Filter> | ||
| 16 | </ItemGroup> | ||
| 17 | <ItemGroup> | ||
| 18 | <ClCompile Include="..\src\compat.cpp"> | ||
| 19 | <Filter>Lanes</Filter> | ||
| 20 | </ClCompile> | ||
| 21 | <ClCompile Include="..\src\deep.cpp"> | ||
| 22 | <Filter>Lanes</Filter> | ||
| 23 | </ClCompile> | ||
| 24 | <ClCompile Include="deep_test.cpp"> | ||
| 25 | <Filter>Source Files</Filter> | ||
| 26 | </ClCompile> | ||
| 27 | </ItemGroup> | ||
| 28 | <ItemGroup> | ||
| 29 | <ClInclude Include="..\src\lanesconf.h"> | ||
| 30 | <Filter>Lanes</Filter> | ||
| 31 | </ClInclude> | ||
| 32 | <ClInclude Include="..\src\platform.h"> | ||
| 33 | <Filter>Lanes</Filter> | ||
| 34 | </ClInclude> | ||
| 35 | <ClInclude Include="..\src\deep.hpp"> | ||
| 36 | <Filter>Lanes</Filter> | ||
| 37 | </ClInclude> | ||
| 38 | <ClInclude Include="..\src\compat.hpp"> | ||
| 39 | <Filter>Lanes</Filter> | ||
| 40 | </ClInclude> | ||
| 41 | <ClInclude Include="..\src\macros_and_utils.hpp"> | ||
| 42 | <Filter>Lanes</Filter> | ||
| 43 | </ClInclude> | ||
| 44 | <ClInclude Include="..\src\uniquekey.hpp"> | ||
| 45 | <Filter>Lanes</Filter> | ||
| 46 | </ClInclude> | ||
| 47 | </ItemGroup> | ||
| 48 | <ItemGroup> | ||
| 49 | <None Include="deeptest.lua"> | ||
| 50 | <Filter>Resource Files</Filter> | ||
| 51 | </None> | ||
| 52 | </ItemGroup> | ||
| 53 | </Project> \ No newline at end of file | ||
diff --git a/deep_userdata_example/deep_userdata_example.vcxproj.user b/deep_userdata_example/deep_userdata_example.vcxproj.user new file mode 100644 index 0000000..01e9a17 --- /dev/null +++ b/deep_userdata_example/deep_userdata_example.vcxproj.user | |||
| @@ -0,0 +1,120 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
| 3 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.3|x64'"> | ||
| 4 | <LocalDebuggerCommand>$(SolutionDir)..\Lua53\bin\$(Platform)\Debug\lua53.exe</LocalDebuggerCommand> | ||
| 5 | <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> | ||
| 6 | <LocalDebuggerCommandArguments>deeptest.lua</LocalDebuggerCommandArguments> | ||
| 7 | <LocalDebuggerWorkingDirectory>$(SolutionDir)Lanes\lanes\deep_userdata_example\</LocalDebuggerWorkingDirectory> | ||
| 8 | <RemoteDebuggerCommandArguments>deeptest.lua</RemoteDebuggerCommandArguments> | ||
| 9 | </PropertyGroup> | ||
| 10 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.1|x64'"> | ||
| 11 | <LocalDebuggerCommand>$(SolutionDir)..\Lua51\bin\$(Platform)\Debug\lua51.exe</LocalDebuggerCommand> | ||
| 12 | <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> | ||
| 13 | <LocalDebuggerCommandArguments>-i deeptest.lua</LocalDebuggerCommandArguments> | ||
| 14 | <LocalDebuggerWorkingDirectory>$(SolutionDir)Lanes\lanes\deep_userdata_example\</LocalDebuggerWorkingDirectory> | ||
| 15 | <RemoteDebuggerCommandArguments>-i deeptest.lua</RemoteDebuggerCommandArguments> | ||
| 16 | </PropertyGroup> | ||
| 17 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.2|x64'"> | ||
| 18 | <LocalDebuggerCommand>$(SolutionDir)..\Lua52\bin\$(Platform)\Debug\lua52.exe</LocalDebuggerCommand> | ||
| 19 | <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> | ||
| 20 | <LocalDebuggerCommandArguments>-i deeptest.lua</LocalDebuggerCommandArguments> | ||
| 21 | <LocalDebuggerWorkingDirectory>$(SolutionDir)Lanes\lanes\deep_userdata_example\</LocalDebuggerWorkingDirectory> | ||
| 22 | <RemoteDebuggerCommandArguments>-i deeptest.lua</RemoteDebuggerCommandArguments> | ||
| 23 | </PropertyGroup> | ||
| 24 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT 2.1.0-beta3|x64'"> | ||
| 25 | <LocalDebuggerCommand>$(SolutionDir)..\LuaJIT-2.1.0-beta3\bin\$(Platform)\luajit210.exe</LocalDebuggerCommand> | ||
| 26 | <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> | ||
| 27 | <LocalDebuggerCommandArguments>-i</LocalDebuggerCommandArguments> | ||
| 28 | <LocalDebuggerWorkingDirectory>$(SolutionDir)Lanes\lanes\deep_userdata_example\</LocalDebuggerWorkingDirectory> | ||
| 29 | </PropertyGroup> | ||
| 30 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT 2.0.5|x64'"> | ||
| 31 | <LocalDebuggerCommand>$(SolutionDir)..\LuaJIT-2.0.5\bin\$(Platform)\luajit205.exe</LocalDebuggerCommand> | ||
| 32 | <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> | ||
| 33 | <LocalDebuggerCommandArguments>-i</LocalDebuggerCommandArguments> | ||
| 34 | <LocalDebuggerWorkingDirectory>$(SolutionDir)Lanes\lanes\deep_userdata_example\</LocalDebuggerWorkingDirectory> | ||
| 35 | </PropertyGroup> | ||
| 36 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT GIT|x64'"> | ||
| 37 | <LocalDebuggerCommand>$(SolutionDir)..\LuaJIT-GIT\bin\$(Platform)\luajitgit.exe</LocalDebuggerCommand> | ||
| 38 | <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> | ||
| 39 | <LocalDebuggerCommandArguments>-i</LocalDebuggerCommandArguments> | ||
| 40 | <LocalDebuggerWorkingDirectory>$(SolutionDir)Lanes\lanes\deep_userdata_example\</LocalDebuggerWorkingDirectory> | ||
| 41 | </PropertyGroup> | ||
| 42 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.4|x64'"> | ||
| 43 | <LocalDebuggerCommand>$(SolutionDir)..\framework\lua54.exe</LocalDebuggerCommand> | ||
| 44 | <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> | ||
| 45 | <LocalDebuggerCommandArguments>deeptest.lua</LocalDebuggerCommandArguments> | ||
| 46 | <LocalDebuggerWorkingDirectory>$(SolutionDir)Lanes\lanes\deep_userdata_example\</LocalDebuggerWorkingDirectory> | ||
| 47 | <RemoteDebuggerCommandArguments>deeptest.lua</RemoteDebuggerCommandArguments> | ||
| 48 | </PropertyGroup> | ||
| 49 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug MoonJIT|x64'"> | ||
| 50 | <LocalDebuggerCommand>$(SolutionDir)..\MoonJIT\bin\$(Platform)\moonjit.exe</LocalDebuggerCommand> | ||
| 51 | <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> | ||
| 52 | <LocalDebuggerCommandArguments>-i deeptest.lua</LocalDebuggerCommandArguments> | ||
| 53 | <LocalDebuggerWorkingDirectory>$(SolutionDir)Lanes\lanes\deep_userdata_example\</LocalDebuggerWorkingDirectory> | ||
| 54 | </PropertyGroup> | ||
| 55 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 5.3|x64'"> | ||
| 56 | <LocalDebuggerCommand>$(SolutionDir)..\Lua53\bin\$(Platform)\Release\lua53.exe</LocalDebuggerCommand> | ||
| 57 | <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> | ||
| 58 | <LocalDebuggerCommandArguments>-i -- deeptest.lua</LocalDebuggerCommandArguments> | ||
| 59 | <LocalDebuggerWorkingDirectory>$(SolutionDir)Lanes\lanes\deep_userdata_example\</LocalDebuggerWorkingDirectory> | ||
| 60 | </PropertyGroup> | ||
| 61 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 5.4|x64'"> | ||
| 62 | <LocalDebuggerCommand>$(SolutionDir)..\framework\lua54.exe</LocalDebuggerCommand> | ||
| 63 | <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> | ||
| 64 | <LocalDebuggerCommandArguments>-i -- deeptest.lua</LocalDebuggerCommandArguments> | ||
| 65 | <LocalDebuggerWorkingDirectory>$(SolutionDir)Lanes\lanes\deep_userdata_example\</LocalDebuggerWorkingDirectory> | ||
| 66 | </PropertyGroup> | ||
| 67 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT 2.1.0-beta3|Win32'"> | ||
| 68 | <LocalDebuggerCommand>$(SolutionDir)..\LuaJIT-2.1.0-beta3\bin\$(Platform)\luajit210.exe</LocalDebuggerCommand> | ||
| 69 | <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> | ||
| 70 | <LocalDebuggerCommandArguments>-i</LocalDebuggerCommandArguments> | ||
| 71 | <LocalDebuggerWorkingDirectory>$(SolutionDir)Lanes\lanes\deep_userdata_example\</LocalDebuggerWorkingDirectory> | ||
| 72 | </PropertyGroup> | ||
| 73 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT 2.0.5|Win32'"> | ||
| 74 | <LocalDebuggerCommand>$(SolutionDir)..\LuaJIT-2.0.5\bin\$(Platform)\luajit205.exe</LocalDebuggerCommand> | ||
| 75 | <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> | ||
| 76 | <LocalDebuggerCommandArguments>-i</LocalDebuggerCommandArguments> | ||
| 77 | <LocalDebuggerWorkingDirectory>$(SolutionDir)Lanes\lanes\deep_userdata_example\</LocalDebuggerWorkingDirectory> | ||
| 78 | </PropertyGroup> | ||
| 79 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug LuaJIT GIT|Win32'"> | ||
| 80 | <LocalDebuggerCommand>$(SolutionDir)..\LuaJIT-2.0.5\bin\$(Platform)\luajit205.exe</LocalDebuggerCommand> | ||
| 81 | <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> | ||
| 82 | <LocalDebuggerCommandArguments>-i</LocalDebuggerCommandArguments> | ||
| 83 | <LocalDebuggerWorkingDirectory>$(SolutionDir)Lanes\lanes\deep_userdata_example\</LocalDebuggerWorkingDirectory> | ||
| 84 | </PropertyGroup> | ||
| 85 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 5.4|Win32'"> | ||
| 86 | <LocalDebuggerWorkingDirectory>$(SolutionDir)Lanes\lanes\deep_userdata_example\</LocalDebuggerWorkingDirectory> | ||
| 87 | <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> | ||
| 88 | <LocalDebuggerCommand>$(SolutionDir)..\framework\lua54.exe</LocalDebuggerCommand> | ||
| 89 | </PropertyGroup> | ||
| 90 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.1|Win32'"> | ||
| 91 | <LocalDebuggerWorkingDirectory>$(SolutionDir)Lanes\lanes\deep_userdata_example\</LocalDebuggerWorkingDirectory> | ||
| 92 | <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> | ||
| 93 | <LocalDebuggerCommand>$(SolutionDir)..\Lua52\bin\$(Platform)\Debug\lua51.exe</LocalDebuggerCommand> | ||
| 94 | </PropertyGroup> | ||
| 95 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.2|Win32'"> | ||
| 96 | <LocalDebuggerWorkingDirectory>$(SolutionDir)Lanes\lanes\deep_userdata_example\</LocalDebuggerWorkingDirectory> | ||
| 97 | <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> | ||
| 98 | <LocalDebuggerCommand>$(SolutionDir)..\Lua51\bin\$(Platform)\Debug\lua52.exe</LocalDebuggerCommand> | ||
| 99 | </PropertyGroup> | ||
| 100 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.3|Win32'"> | ||
| 101 | <LocalDebuggerWorkingDirectory>$(SolutionDir)Lanes\lanes\deep_userdata_example\</LocalDebuggerWorkingDirectory> | ||
| 102 | <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> | ||
| 103 | <LocalDebuggerCommand>$(SolutionDir)..\Lua53\bin\$(Platform)\Debug\lua53.exe</LocalDebuggerCommand> | ||
| 104 | </PropertyGroup> | ||
| 105 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 5.4|Win32'"> | ||
| 106 | <LocalDebuggerWorkingDirectory>$(SolutionDir)Lanes\lanes\deep_userdata_example\</LocalDebuggerWorkingDirectory> | ||
| 107 | <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> | ||
| 108 | <LocalDebuggerCommand>$(SolutionDir)..\framework\lua54.exe</LocalDebuggerCommand> | ||
| 109 | </PropertyGroup> | ||
| 110 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug MoonJIT|Win32'"> | ||
| 111 | <LocalDebuggerWorkingDirectory>$(SolutionDir)Lanes\lanes\deep_userdata_example\</LocalDebuggerWorkingDirectory> | ||
| 112 | <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> | ||
| 113 | <LocalDebuggerCommand>$(SolutionDir)..\MoonJIT\bin\$(Platform)\moonjit.exe</LocalDebuggerCommand> | ||
| 114 | </PropertyGroup> | ||
| 115 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 5.3|Win32'"> | ||
| 116 | <LocalDebuggerWorkingDirectory>$(SolutionDir)Lanes\lanes\deep_userdata_example\</LocalDebuggerWorkingDirectory> | ||
| 117 | <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> | ||
| 118 | <LocalDebuggerCommand>$(SolutionDir)..\Lua53\bin\$(Platform)\Release\lua53.exe</LocalDebuggerCommand> | ||
| 119 | </PropertyGroup> | ||
| 120 | </Project> \ No newline at end of file | ||
diff --git a/deep_userdata_example/deeptest.lua b/deep_userdata_example/deeptest.lua new file mode 100644 index 0000000..6ef4b74 --- /dev/null +++ b/deep_userdata_example/deeptest.lua | |||
| @@ -0,0 +1,159 @@ | |||
| 1 | local lanes = require("lanes").configure{ with_timers = false} | ||
| 2 | local l = lanes.linda "my linda" | ||
| 3 | |||
| 4 | local table_unpack = table.unpack or unpack -- Lua 5.1 support | ||
| 5 | |||
| 6 | -- we will transfer userdata created by this module, so we need to make Lanes aware of it | ||
| 7 | local dt = lanes.require "deep_userdata_example" | ||
| 8 | |||
| 9 | -- set DEEP to any non-false value to run the Deep Userdata tests. "gc" selects a special test for debug purposes | ||
| 10 | DEEP = DEEP or true | ||
| 11 | -- set CLONABLE to any non-false value to run the Clonable Userdata tests | ||
| 12 | CLONABLE = CLONABLE or true | ||
| 13 | |||
| 14 | -- lua 5.1->5.2 support a single table uservalue | ||
| 15 | -- lua 5.3->5.4 supports an arbitrary type uservalue | ||
| 16 | local test_uvtype = (_VERSION == "Lua 5.4") and "function" or (_VERSION == "Lua 5.3") and "string" or "table" | ||
| 17 | -- lua 5.4 supports multiple uservalues | ||
| 18 | local nupvals = _VERSION == "Lua 5.4" and 3 or 1 | ||
| 19 | |||
| 20 | local makeUserValue = function( obj_) | ||
| 21 | if test_uvtype == "table" then | ||
| 22 | return {"some uservalue"} | ||
| 23 | elseif test_uvtype == "string" then | ||
| 24 | return "some uservalue" | ||
| 25 | elseif test_uvtype == "function" then | ||
| 26 | -- a function that pull the userdata as upvalue | ||
| 27 | local f = function() | ||
| 28 | return "-> '" .. tostring( obj_) .. "'" | ||
| 29 | end | ||
| 30 | return f | ||
| 31 | end | ||
| 32 | end | ||
| 33 | |||
| 34 | local printDeep = function( prefix_, obj_, t_) | ||
| 35 | print( prefix_, obj_) | ||
| 36 | for uvi = 1, nupvals do | ||
| 37 | local uservalue = obj_:getuv(uvi) | ||
| 38 | print ("uv #" .. uvi, type( uservalue), uservalue, type(uservalue) == "function" and uservalue() or "") | ||
| 39 | end | ||
| 40 | if t_ then | ||
| 41 | local count = 0 | ||
| 42 | for k, v in ipairs( t_) do | ||
| 43 | print( "t["..tostring(k).."]", v) | ||
| 44 | count = count + 1 | ||
| 45 | end | ||
| 46 | -- we should have only 2 indexed entries with the same value | ||
| 47 | assert(count == 2 and t_[1] == t_[2]) | ||
| 48 | end | ||
| 49 | print() | ||
| 50 | end | ||
| 51 | |||
| 52 | local performTest = function( obj_) | ||
| 53 | -- setup the userdata with some value and a uservalue | ||
| 54 | obj_:set( 666) | ||
| 55 | obj_:setuv( 1, makeUserValue( obj_)) | ||
| 56 | if nupvals > 1 then | ||
| 57 | -- keep uv #2 as nil | ||
| 58 | obj_:setuv( 3, "ENDUV") | ||
| 59 | end | ||
| 60 | |||
| 61 | local t = | ||
| 62 | { | ||
| 63 | -- two indices with an identical value: we should also have identical values on the other side (even if not the same as the original ones when they are clonables) | ||
| 64 | obj_, | ||
| 65 | obj_, | ||
| 66 | -- this one won't transfer because we don't support full uservalue as keys | ||
| 67 | [obj_] = "val" | ||
| 68 | } | ||
| 69 | |||
| 70 | -- read back the contents of the object | ||
| 71 | printDeep( "immediate:", obj_, t) | ||
| 72 | |||
| 73 | -- send the object in a linda, get it back out, read the contents | ||
| 74 | l:set( "key", obj_, t) | ||
| 75 | -- when obj_ is a deep userdata, out is the same userdata as obj_ (not another one pointing on the same deep memory block) because of an internal cache table [deep*] -> proxy) | ||
| 76 | -- when obj_ is a clonable userdata, we get a different clone everytime we cross a linda or lane barrier | ||
| 77 | local _n, _val1, _val2 = l:get( "key", 2) | ||
| 78 | assert(_n == (_val2 and 2 or 1)) | ||
| 79 | printDeep( "out of linda:", _val1, _val2) | ||
| 80 | |||
| 81 | -- send the object in a lane through argument passing, the lane body returns it as return value, read the contents | ||
| 82 | local g = lanes.gen( | ||
| 83 | "package" | ||
| 84 | , { | ||
| 85 | required = { "deep_userdata_example"} -- we will transfer userdata created by this module, so we need to make this lane aware of it | ||
| 86 | } | ||
| 87 | , function( arg_, t_) | ||
| 88 | -- read contents inside lane: arg_ and t_ by argument | ||
| 89 | printDeep( "in lane, as arguments:", arg_, t_) | ||
| 90 | -- read contents inside lane: obj_ and t by upvalue | ||
| 91 | printDeep( "in lane, as upvalues:", obj_, t) | ||
| 92 | -- read contents inside lane: in linda | ||
| 93 | local _n, _val1, _val2 = l:get( "key", 2) | ||
| 94 | assert(_n == (_val2 and 2 or 1)) | ||
| 95 | printDeep( "in lane, from linda:", _val1, _val2) | ||
| 96 | return arg_, t_ | ||
| 97 | end | ||
| 98 | ) | ||
| 99 | h = g( obj_, t) | ||
| 100 | -- when obj_ is a deep userdata, from_lane is the same userdata as obj_ (not another one pointing on the same deep memory block) because of an internal cache table [deep*] -> proxy) | ||
| 101 | -- when obj_ is a clonable userdata, we get a different clone everytime we cross a linda or lane barrier | ||
| 102 | printDeep( "from lane:", h[1], h[2]) | ||
| 103 | end | ||
| 104 | |||
| 105 | if DEEP then | ||
| 106 | print "================================================================" | ||
| 107 | print "DEEP" | ||
| 108 | local d = dt.new_deep(nupvals) | ||
| 109 | if type(DEEP) == "string" then | ||
| 110 | local gc_tests = { | ||
| 111 | thrasher = function(repeat_, size_) | ||
| 112 | print "in thrasher" | ||
| 113 | -- result is a table of repeat_ tables, each containing size_ entries | ||
| 114 | local result = {} | ||
| 115 | for i = 1, repeat_ do | ||
| 116 | local batch_values = {} | ||
| 117 | for j = 1, size_ do | ||
| 118 | table.insert(batch_values, j) | ||
| 119 | end | ||
| 120 | table.insert(result, batch_values) | ||
| 121 | end | ||
| 122 | print "thrasher done" | ||
| 123 | return result | ||
| 124 | end, | ||
| 125 | stack_abuser = function(repeat_, size_) | ||
| 126 | print "in stack_abuser" | ||
| 127 | for i = 1, repeat_ do | ||
| 128 | local batch_values = {} | ||
| 129 | for j = 1, size_ do | ||
| 130 | table.insert(batch_values, j) | ||
| 131 | end | ||
| 132 | -- return size_ values | ||
| 133 | local _ = table_unpack(batch_values) | ||
| 134 | end | ||
| 135 | print "stack_abuser done" | ||
| 136 | return result | ||
| 137 | end | ||
| 138 | } | ||
| 139 | -- have the object call the function from inside one of its functions, to detect if it gets collected from there (while in use!) | ||
| 140 | local testf = gc_tests[DEEP] | ||
| 141 | if testf then | ||
| 142 | local r = d:invoke(gc_tests[DEEP], REPEAT or 10, SIZE or 10) | ||
| 143 | print("invoke -> ", tostring(r)) | ||
| 144 | else | ||
| 145 | print("unknown test '" .. DEEP .. "'") | ||
| 146 | end | ||
| 147 | else | ||
| 148 | performTest(d) | ||
| 149 | end | ||
| 150 | end | ||
| 151 | |||
| 152 | if CLONABLE then | ||
| 153 | print "================================================================" | ||
| 154 | print "CLONABLE" | ||
| 155 | performTest( dt.new_clonable(nupvals)) | ||
| 156 | end | ||
| 157 | |||
| 158 | print "================================================================" | ||
| 159 | print "TEST OK" \ No newline at end of file | ||
