From 5a8296a00109dc7fe82d3d1cb18b88caed78724c Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sun, 3 Mar 2019 01:47:52 +0100 Subject: [PATCH] build: clean up lol-core vcxproj filters and improve DLL copying. --- build/msbuild/lol.rules.props | 4 +- build/msbuild/lol.vars.props | 11 +- src/Makefile.am | 2 +- src/lol-core.vcxproj | 48 + ...cxproj.filter => lol-core.vcxproj.filters} | 1073 ++++++++--------- 5 files changed, 580 insertions(+), 558 deletions(-) rename src/{lol-core.vcxproj.filter => lol-core.vcxproj.filters} (80%) mode change 100644 => 100755 diff --git a/build/msbuild/lol.rules.props b/build/msbuild/lol.rules.props index 5f277e55..23e1d70c 100644 --- a/build/msbuild/lol.rules.props +++ b/build/msbuild/lol.rules.props @@ -109,8 +109,8 @@ set A=$(SdlLibs) :again for /f "tokens=1* delims=;" %%I in ("%A%") do ( - if not "%%I" == "" echo xcopy /y /c /d "%%I"\*.dll "$(TargetDir)" - if not "%%I" == "" xcopy /y /c /d "%%I"\*.dll "$(TargetDir)" + rem if not "%%I" == "" echo xcopy /y /c /d "%%I"\*.dll "$(TargetDir)" + rem if not "%%I" == "" xcopy /y /c /d "%%I"\*.dll "$(TargetDir)" if not "%%I" == "" set A=%%J if not "%%I" == "" goto again ) diff --git a/build/msbuild/lol.vars.props b/build/msbuild/lol.vars.props index 45d34f79..ad2d43b4 100644 --- a/build/msbuild/lol.vars.props +++ b/build/msbuild/lol.vars.props @@ -73,11 +73,14 @@ $(ExternalDir)\sdl-2.0.9 $(ExternalDir)\sdl-image-2.0.4 $(ExternalDir)\sdl-mixer-2.0.4 + $(SdlDir)\lib\i686-msvc + $(SdlDir)\lib\x86_64-msvc + $(SdlImageDir)\lib\i686-msvc + $(SdlImageDir)\lib\x86_64-msvc + $(SdlMixerDir)\lib\i686-msvc + $(SdlMixerDir)\lib\x86_64-msvc $(SdlDir)\include;$(SdlImageDir)\include;$(SdlMixerDir)\include - $(SdlDir)\lib\i686-msvc;$(SdlImageDir)\lib\i686-msvc;$(SdlMixerDir)\lib\i686-msvc - $(SdlDir)\lib\x86_64-msvc;$(SdlImageDir)\lib\x86_64-msvc;$(SdlMixerDir)\lib\x86_64-msvc - SDL2.lib;SDL2main.lib;SDL2_image.lib;SDL2_mixer.lib - SDL2.lib;SDL2main.lib;SDL2_image.lib;SDL2_mixer.lib + $(SdlLibDir);$(SdlImageLibDir);$(SdlMixerLibDir) HAVE_SDL_H;LOL_USE_SDL;$(Win32Defines) LOL_USE_SDL_MIXER;LOL_USE_SDL_IMAGE;$(Win32Defines) diff --git a/src/Makefile.am b/src/Makefile.am index 75dc7f01..39339cca 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -5,7 +5,7 @@ SUBDIRS = 3rdparty data . t noinst_LIBRARIES = liblol-core.a -EXTRA_DIST += lol-core.vcxproj lol-core.vcxproj.filter +EXTRA_DIST += lol-core.vcxproj lol-core.vcxproj.filters liblol_core_a_SOURCES = \ lolgl.h scene.cpp scene.h font.cpp font.h \ diff --git a/src/lol-core.vcxproj b/src/lol-core.vcxproj index 9ffe1715..1a1b189b 100644 --- a/src/lol-core.vcxproj +++ b/src/lol-core.vcxproj @@ -317,6 +317,54 @@ + + Document + + + Document + + + Document + + + Document + + + Document + + + Document + + + Document + + + Document + + + Document + + + Document + + + Document + + + Document + + + Document + + + Document + + + Document + + + Document + true diff --git a/src/lol-core.vcxproj.filter b/src/lol-core.vcxproj.filters old mode 100644 new mode 100755 similarity index 80% rename from src/lol-core.vcxproj.filter rename to src/lol-core.vcxproj.filters index 60672514..34c5712c --- a/src/lol-core.vcxproj.filter +++ b/src/lol-core.vcxproj.filters @@ -1,118 +1,30 @@  - - {3592ed6a-59d7-4a6d-be5a-c05cb5dab730} - - - {459e2b92-4e46-4f07-89f7-62b55c7a2797} - - - {e056731c-5484-434a-965e-801c199c0366} - - - {07117029-d79d-4d59-beec-691b00a97c8f} - - - {ec9b94fc-c716-4ef2-9c3b-c7f3447574b0} - - - {940329fb-d054-433a-ae30-b7f409790554} - - - {123803f1-1722-4421-8245-098667654cda} - - - {94992c0e-ebc5-4185-b766-323b06547dcf} - - - {0edcf1a5-3c9c-4425-918c-aa2cbebc51c1} - - - {39f6f872-186f-48af-8e87-bcceb06b1b21} - - - {a20b47c1-a0f8-4a02-a7a8-6da2ccd8bb02} - - - {f25b3187-b24c-469a-b038-5a968eaa83f6} - - - {1e0b7a4c-425f-4d4f-945e-ba2ac9386ce0} - - - {97d023b5-9715-4f30-bacb-846d89025f5b} - - - {2caadbda-b9f1-446d-bbd2-55c959db342c} - - - {1eaa8df5-7a31-4358-a1e9-0e265de6ed49} - - - {e17b998c-d494-480b-ae29-5d1564f73327} - - - {606ea817-db84-40fe-be2e-8e5c864e39b2} - - - {73e4bc38-19e4-41d2-82e9-ebf22fa65f77} - - - {647eb922-e722-418a-91e9-9e2d53ff5a85} - - - {514846bc-650a-4423-b35a-6ccb9a1f0edd} - - - {1d945673-ee9a-48a7-9ee8-34338c5fefc1} - - - {01285b11-c6c7-4a9e-8dee-daa2c63901e4} - - - {a11c55f8-8e10-4270-be24-38e8d4fcf589} - - - {4089421f-2cc2-4036-a6b2-9df8a2f4efc8} - - - {317cb5cc-5dcc-4e14-be90-40a125a2e2ec} - - - {63e63eea-c96e-4d37-81f6-f3f17e18b751} - - - {3f420a7d-0538-463a-925b-3f8968bf628e} - - - {25cc0513-ad71-4fbe-bd24-acc88aa66833} - - - {7fb4105d-4f17-4824-8d40-948553fdcde1} - - - {3bd5fe6f-c9cd-45f3-98a9-958d86d415e8} - - - {869f0b25-469b-4b06-a2a2-325449fc868f} - - - - - image + + application - - image + + application - - image + + application + + + + base + + + base + + + base debug - - image + + debug debug @@ -120,29 +32,61 @@ debug - - application + + easymesh - - ui + + easymesh - - math + + easymesh - - math + + easymesh - - math + + easymesh - - math + + easymesh - - math + + easymesh - - mesh + + easymesh + + + easymesh + + + easymesh + + + engine + + + engine + + + engine + + + engine + + + engine + + + + + gpu + + + gpu + + + gpu gpu @@ -159,9 +103,7 @@ gpu - - application - + image\codec @@ -180,218 +122,158 @@ image\codec - - platform\xbox - - - platform\xbox + + image\codec - - gpu + + image\codec - - ui + + image\color - - ui + + image\color - - audio + + image\filter - - audio + + image\filter - - ... + + image\filter - - application + + image\filter - - ... + + image\filter - - ... + + image\dither - - ... + + image\dither - - ... + + image\dither - - ... + + image\dither - - ... + + image\dither - - ... + + image - - ... + + image - - gpu + + image - - easymesh + + image - - gpu + + image - - base + + image - - base + + image - - image\color + + image - - image\color + + image - - image + + + lolua math - - easymesh + + math - - sys + + math - - sys + + math + + math + + + math + + + mesh + + + mesh + + + + + + sys sys - - base + + sys - - debug + + sys + + + ui - - ... - - - easymesh - - - easymesh - - - image\codec - - - image\codec - - - image\filter - - - image\filter - - - image\filter - - - image\filter - - - image\filter - - - image\dither - - - image\dither - - - image\dither - - - image\dither - - - image\dither - - - image - - - image - - - image - - - easymesh - - - easymesh - - - easymesh - - - easymesh - - - easymesh - - - easymesh - - - lolua - - - tileset - - - engine - - - engine - - - engine - - - engine - - - engine - - - tileset + + ui ui - - mesh - - - display + + ui - - display + + ui + + + + + + + + + application + + + application + + + application + + + debug @@ -401,62 +283,98 @@ debug - - ui + + easymesh - - application + + easymesh - + + easymesh + + + easymesh + + + easymesh + + + + engine + + + engine + + + engine + + + engine + + + + + image + + + image + + + + + + lolua + + lol\algorithm - + lol\algorithm - - lol\image + + lol\algorithm - - lol\math + + lol\algorithm - - lol\math + + lol\base - - lol\math + + lol\base - - lol\math + + lol\base - - lol\math\noise + + lol\base - - lol\math\noise + + lol\base - - lol\math\noise + + lol\base - - lol\math + + lol\base - - lol\math + + lol\base - - lol\math + + lol\base - - lol\math + + lol\debug - - lol\math + + lol\debug - - lol\math + + lol\engine - - lol\math + + lol\engine lol @@ -467,303 +385,180 @@ lol - - lol + + lol\gpu - - lol + + lol\gpu - - lol + + lol\gpu - - mesh - - - application - - - image - - - platform\xbox - - - platform\xbox - - - ui - - - ui - - - ... - - - application - - - ... - - - ... - - - ... - - - ... + + lol\gpu - - ... + + lol\gpu - - ... + + lol\gpu - - ... + + lol\gpu - - ... + + lol\gpu - - ... + + lol\gpu - - ... + + lol\image - - ... + + lol\image - - ... + + lol\image - - ... + + lol\image - - easymesh + + lol\image - - lol\audio + + lol\image - - lol\audio + + lol - - lol\audio + + lol\math - - lol\base + + lol\math - - lol\base + + lol\math - - lol\base + + lol\math - - lol\base + + lol\math - - lol\base + + lol\math - - lol\base + + lol\math - - lol\base + + lol\math - - lol\base + + lol\math\noise - - lol\base + + lol\math\noise - - lol\base + + lol\math\noise - + lol\math - + lol\math - - easymesh - - - lol\base + + lol\math - + lol\math - + lol\math - + lol\math + + lol + + + lol\sys + lol\sys lol\sys - - lol\gpu - - - lol\gpu - - - lol\image - - - lol\gpu - lol\sys - - lol\base - - - lol\gpu - - - lol\gpu - - - lol\gpu - lol\sys - - lol\gpu - lol\sys - - lol\gpu - - - lol\sys - - - lol\gpu - - - lol\debug - - - lol\debug + + mesh - - lol\engine + + mesh - - lol\engine + + + + + + + + + + + + ui - - lol\image + + ui - - lol\image + + ui - - lol\image + + ui ui - + ui - - ... - - - ... - - - easymesh - - - - easymesh - - - lol\algorithm - - - lol\algorithm - - - easymesh - - - lolua - - - tileset - - - engine - - - engine - - - engine - - - engine - - - tileset - - - tileset - - - ui + + + + lol\math - - mesh + + lol\base - - display + + + lol\audio - - display + + lol\audio - - gpu - - - gpu - - - gpu - easymesh - - ... - - - ... - - - easymesh - easymesh @@ -779,14 +574,190 @@ easymesh + + easymesh + + + gpu + + + gpu + + + gpu + + + gpu + - ... + gpu + + + gpu + + + gpu - tileset + gpu + - + + + {3592ed6a-59d7-4a6d-be5a-c05cb5dab730} + + + {459e2b92-4e46-4f07-89f7-62b55c7a2797} + + + {e056731c-5484-434a-965e-801c199c0366} + + + {07117029-d79d-4d59-beec-691b00a97c8f} + + + {1079c1f3-b1f5-48c8-8196-3a8a1819f5b4} + + + {ec9b94fc-c716-4ef2-9c3b-c7f3447574b0} + + + {940329fb-d054-433a-ae30-b7f409790554} + + + {123803f1-1722-4421-8245-098667654cda} + + + {94992c0e-ebc5-4185-b766-323b06547dcf} + + + {0edcf1a5-3c9c-4425-918c-aa2cbebc51c1} + + + {39f6f872-186f-48af-8e87-bcceb06b1b21} + + + {a20b47c1-a0f8-4a02-a7a8-6da2ccd8bb02} + + + {f25b3187-b24c-469a-b038-5a968eaa83f6} + + + {1e0b7a4c-425f-4d4f-945e-ba2ac9386ce0} + + + {97d023b5-9715-4f30-bacb-846d89025f5b} + + + {2caadbda-b9f1-446d-bbd2-55c959db342c} + + + {1eaa8df5-7a31-4358-a1e9-0e265de6ed49} + + + {e17b998c-d494-480b-ae29-5d1564f73327} + + + {606ea817-db84-40fe-be2e-8e5c864e39b2} + + + {73e4bc38-19e4-41d2-82e9-ebf22fa65f77} + + + {647eb922-e722-418a-91e9-9e2d53ff5a85} + + + {514846bc-650a-4423-b35a-6ccb9a1f0edd} + + + {1d945673-ee9a-48a7-9ee8-34338c5fefc1} + + + {01285b11-c6c7-4a9e-8dee-daa2c63901e4} + + + {a11c55f8-8e10-4270-be24-38e8d4fcf589} + + + {4089421f-2cc2-4036-a6b2-9df8a2f4efc8} + + + {317cb5cc-5dcc-4e14-be90-40a125a2e2ec} + + + {63e63eea-c96e-4d37-81f6-f3f17e18b751} + + + {3f420a7d-0538-463a-925b-3f8968bf628e} + + + {25cc0513-ad71-4fbe-bd24-acc88aa66833} + + + {7fb4105d-4f17-4824-8d40-948553fdcde1} + + + {3bd5fe6f-c9cd-45f3-98a9-958d86d415e8} + + + {869f0b25-469b-4b06-a2a2-325449fc868f} + + + {1c612ab2-418c-4cd4-a266-82023c21b915} + + + + + external + + + external + + + external + + + external + + + external + + + external + + + external + + + external + + + external + + + external + + + external + + + external + + + external + + + external + + + external + + + external + + + \ No newline at end of file