diff --git a/tests/cpp-empty-test/proj.win32/cpp-empty-test.vcxproj b/tests/cpp-empty-test/proj.win32/cpp-empty-test.vcxproj
index 35f7ae309f..6d6907763d 100644
--- a/tests/cpp-empty-test/proj.win32/cpp-empty-test.vcxproj
+++ b/tests/cpp-empty-test/proj.win32/cpp-empty-test.vcxproj
@@ -50,10 +50,10 @@
<_ProjectFileVersion>10.0.40219.1
- $(SolutionDir)$(Configuration).win32\
+ $(SolutionDir)$(Configuration).win32\cpp-empty-test\
$(Configuration).win32\
true
- $(SolutionDir)$(Configuration).win32\
+ $(SolutionDir)$(Configuration).win32\cpp-empty-test\
$(Configuration).win32\
false
AllRules.ruleset
@@ -85,7 +85,7 @@
$(OutDir)$(ProjectName).exe
- $(OutDir);%(AdditionalLibraryDirectories)
+ $(OutDir);$(SolutionDir)$(Configuration).win32;%(AdditionalLibraryDirectories)
true
Windows
MachineX86
@@ -95,6 +95,14 @@
+
+
+xcopy "$(ProjectDir)..\Resources" "$(OutDir)" /D /E /I /F /Y
+xcopy "$(OutDir)..\*.dll" "$(OutDir)" /D /Y
+
+
+ Copy files
+
@@ -113,7 +121,7 @@
glew32.lib;%(AdditionalDependencies)
$(OutDir)$(ProjectName).exe
- $(OutDir);%(AdditionalLibraryDirectories)
+ $(OutDir);$(SolutionDir)$(Configuration).win32;%(AdditionalLibraryDirectories)
true
Windows
true
@@ -124,6 +132,14 @@
+
+
+xcopy "$(ProjectDir)..\Resources" "$(OutDir)" /D /E /I /F /Y
+xcopy "$(OutDir)..\*.dll" "$(OutDir)" /D /Y
+
+
+ Copy files
+
@@ -144,4 +160,4 @@
-
+
\ No newline at end of file
diff --git a/tests/cpp-tests/proj.win32/cpp-tests.vcxproj b/tests/cpp-tests/proj.win32/cpp-tests.vcxproj
index c5fe62f7e0..713a5b5e32 100644
--- a/tests/cpp-tests/proj.win32/cpp-tests.vcxproj
+++ b/tests/cpp-tests/proj.win32/cpp-tests.vcxproj
@@ -1,4 +1,4 @@
-
+
@@ -51,10 +51,10 @@
<_ProjectFileVersion>10.0.40219.1
- $(SolutionDir)$(Configuration).win32\
+ $(SolutionDir)$(Configuration).win32\cpp-tests\
$(Configuration).win32\
true
- $(SolutionDir)$(Configuration).win32\
+ $(SolutionDir)$(Configuration).win32\cpp-tests\
$(Configuration).win32\
false
AllRules.ruleset
@@ -86,7 +86,7 @@
$(OutDir)$(ProjectName).exe
- $(OutDir);%(AdditionalLibraryDirectories)
+ $(OutDir);$(SolutionDir)$(Configuration).win32;%(AdditionalLibraryDirectories)
true
Windows
MachineX86
@@ -100,6 +100,13 @@
+
+ xcopy "$(ProjectDir)..\Resources" "$(OutDir)" /D /E /I /F /Y
+xcopy "$(OutDir)..\*.dll" "$(OutDir)" /D /Y
+
+
+ Copy files
+
@@ -118,7 +125,7 @@
libcurl_imp.lib;websockets.lib;opengl32.lib;glew32.lib;%(AdditionalDependencies)
$(OutDir)$(ProjectName).exe
- $(OutDir);%(AdditionalLibraryDirectories)
+ $(OutDir);$(SolutionDir)$(Configuration).win32;%(AdditionalLibraryDirectories)
false
Windows
true
@@ -134,6 +141,13 @@
+
+ xcopy "$(ProjectDir)..\Resources" "$(OutDir)" /D /E /I /F /Y
+xcopy "$(OutDir)..\*.dll" "$(OutDir)" /D /Y
+
+
+ Copy files
+
diff --git a/tests/lua-empty-test/project/proj.win32/lua-empty-test.vcxproj b/tests/lua-empty-test/project/proj.win32/lua-empty-test.vcxproj
index d19e7d77ec..5c39dc9739 100644
--- a/tests/lua-empty-test/project/proj.win32/lua-empty-test.vcxproj
+++ b/tests/lua-empty-test/project/proj.win32/lua-empty-test.vcxproj
@@ -1,4 +1,4 @@
-
+
@@ -49,10 +49,10 @@
<_ProjectFileVersion>10.0.40219.1
- $(SolutionDir)$(Configuration).win32\
+ $(SolutionDir)$(Configuration).win32\lua-empty-test\
$(Configuration).win32\
true
- $(SolutionDir)$(Configuration).win32\
+ $(SolutionDir)$(Configuration).win32\lua-empty-test\
$(Configuration).win32\
false
AllRules.ruleset
@@ -102,14 +102,16 @@
libcurl_imp.lib;lua51.lib;websockets.lib;%(AdditionalDependencies)
- $(OutDir);%(AdditionalLibraryDirectories)
+ $(OutDir);$(SolutionDir)$(Configuration).win32;%(AdditionalLibraryDirectories)
true
Windows
MachineX86
- if not exist "$(ProjectDir)..\..\src\cocos" mkdir "$(ProjectDir)..\..\src\cocos"
-xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script" "$(ProjectDir)..\..\src\cocos" /e /Y
+ xcopy "$(ProjectDir)..\..\res" "$(OutDir)res" /D /E /I /F /Y
+xcopy "$(ProjectDir)..\..\src" "$(OutDir)src" /D /E /I /F /Y
+xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script" "$(OutDir)src\cocos" /D /E /I /F /Y
+xcopy "$(OutDir)..\*.dll" "$(OutDir)" /D /Y
@@ -150,7 +152,7 @@ xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script" "$(ProjectD
libcurl_imp.lib;lua51.lib;websockets.lib;%(AdditionalDependencies)
- $(OutDir);%(AdditionalLibraryDirectories)
+ $(OutDir);$(SolutionDir)$(Configuration).win32;%(AdditionalLibraryDirectories)
Windows
MachineX86
true
@@ -160,8 +162,10 @@ xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script" "$(ProjectD
- if not exist "$(ProjectDir)..\..\src\cocos" mkdir "$(ProjectDir)..\..\src\cocos"
-xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script" "$(ProjectDir)..\..\src\cocos" /e /Y
+ xcopy "$(ProjectDir)..\..\res" "$(OutDir)res" /D /E /I /F /Y
+xcopy "$(ProjectDir)..\..\src" "$(OutDir)src" /D /E /I /F /Y
+xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script" "$(OutDir)src\cocos" /D /E /I /F /Y
+xcopy "$(OutDir)..\*.dll" "$(OutDir)" /D /Y
diff --git a/tests/lua-tests/project/proj.win32/lua-tests.win32.vcxproj b/tests/lua-tests/project/proj.win32/lua-tests.win32.vcxproj
index 6b8cc38035..0cc4844115 100644
--- a/tests/lua-tests/project/proj.win32/lua-tests.win32.vcxproj
+++ b/tests/lua-tests/project/proj.win32/lua-tests.win32.vcxproj
@@ -1,4 +1,4 @@
-
+
@@ -50,7 +50,7 @@
- $(SolutionDir)$(Configuration).win32\
+ $(SolutionDir)$(Configuration).win32\lua-tests\
$(Configuration).win32\
true
$(IncludePath)
@@ -58,7 +58,7 @@
AllRules.ruleset
- $(SolutionDir)$(Configuration).win32\
+ $(SolutionDir)$(Configuration).win32\lua-tests\
$(Configuration).win32\
false
@@ -87,7 +87,7 @@
Windows
MachineX86
true
- $(OutDir);%(AdditionalLibraryDirectories)
+ $(OutDir);$(SolutionDir)$(Configuration).win32;%(AdditionalLibraryDirectories)
libcurl_imp.lib;lua51.lib;websockets.lib;%(AdditionalDependencies)
@@ -108,10 +108,12 @@
- if not exist "$(ProjectDir)..\..\src\cocos" mkdir "$(ProjectDir)..\..\src\cocos"
-xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script" "$(ProjectDir)..\..\src\cocos" /e /Y
-xcopy "$(ProjectDir)..\..\..\..\external\lua\luasocket\*.lua" "$(ProjectDir)..\..\" /e /Y
-xcopy "$(ProjectDir)..\..\..\cpp-tests\Resources" "$(ProjectDir)..\..\res" /e /Y
+ xcopy "$(ProjectDir)..\..\res" "$(OutDir)res" /D /E /I /F /Y
+xcopy "$(ProjectDir)..\..\src" "$(OutDir)src" /D /E /I /F /Y
+xcopy "$(ProjectDir)..\..\..\..\tests\cpp-tests\Resources" "$(OutDir)res" /D /E /I /F /Y
+xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script" "$(OutDir)src\cocos" /D /E /I /F /Y
+xcopy "$(ProjectDir)..\..\..\..\external\lua\luasocket\script" "$(OutDir)script" /D /E /I /F /Y
+xcopy "$(OutDir)..\*.dll" "$(OutDir)" /D /Y
copy files
@@ -136,7 +138,7 @@ xcopy "$(ProjectDir)..\..\..\cpp-tests\Resources" "$(ProjectDir)..\..\res" /e /Y
Windows
MachineX86
- $(OutDir);%(AdditionalLibraryDirectories)
+ $(OutDir);$(SolutionDir)$(Configuration).win32;%(AdditionalLibraryDirectories)
libcurl_imp.lib;lua51.lib;websockets.lib;%(AdditionalDependencies)
true
@@ -158,10 +160,12 @@ xcopy "$(ProjectDir)..\..\..\cpp-tests\Resources" "$(ProjectDir)..\..\res" /e /Y
- if not exist "$(ProjectDir)..\..\src\cocos" mkdir "$(ProjectDir)..\..\src\cocos"
-xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script" "$(ProjectDir)..\..\src\cocos" /e /Y
-xcopy "$(ProjectDir)..\..\..\..\external\lua\luasocket\*.lua" "$(ProjectDir)..\..\" /e /Y
-xcopy "$(ProjectDir)..\..\..\cpp-tests\Resources" "$(ProjectDir)..\..\res" /e /Y
+ xcopy "$(ProjectDir)..\..\res" "$(OutDir)res" /D /E /I /F /Y
+xcopy "$(ProjectDir)..\..\src" "$(OutDir)src" /D /E /I /F /Y
+xcopy "$(ProjectDir)..\..\..\..\tests\cpp-tests\Resources" "$(OutDir)res" /D /E /I /F /Y
+xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script" "$(OutDir)src\cocos" /D /E /I /F /Y
+xcopy "$(ProjectDir)..\..\..\..\external\lua\luasocket\script" "$(OutDir)script" /D /E /I /F /Y
+xcopy "$(OutDir)..\*.dll" "$(OutDir)" /D /Y
copy files