Author: jgardou
Date: Sun Sep 4 17:33:34 2011
New Revision: 53586
URL:
http://svn.reactos.org/svn/reactos?rev=53586&view=rev
Log:
[CMAKE]
- rostests side of r53585
Modified:
trunk/rostests/tests/pseh2/CMakeLists.txt
trunk/rostests/winetests/comctl32/CMakeLists.txt
trunk/rostests/winetests/fusion/CMakeLists.txt
trunk/rostests/winetests/kernel32/CMakeLists.txt
trunk/rostests/winetests/msvcrt/CMakeLists.txt
trunk/rostests/winetests/ntdll/CMakeLists.txt
trunk/rostests/winetests/powrprof/CMakeLists.txt
trunk/rostests/winetests/rpcrt4/CMakeLists.txt
trunk/rostests/winetests/setupapi/CMakeLists.txt
trunk/rostests/winetests/shdocvw/CMakeLists.txt
trunk/rostests/winetests/user32/CMakeLists.txt
trunk/rostests/winetests/winmm/CMakeLists.txt
trunk/rostests/winetests/ws2_32/CMakeLists.txt
Modified: trunk/rostests/tests/pseh2/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/tests/pseh2/CMakeLists.tx…
==============================================================================
--- trunk/rostests/tests/pseh2/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/rostests/tests/pseh2/CMakeLists.txt [iso-8859-1] Sun Sep 4 17:33:34 2011
@@ -6,3 +6,7 @@
set_module_type(pseh2_test win32cui)
add_importlibs(pseh2_test msvcrt kernel32 ntdll)
add_cd_file(TARGET pseh2_test DESTINATION reactos/bin FOR all)
+
+if(NOT MSVC)
+ allow_warnings(pseh2_test)
+endif()
Modified: trunk/rostests/winetests/comctl32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/comctl32/CMakeL…
==============================================================================
--- trunk/rostests/winetests/comctl32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/rostests/winetests/comctl32/CMakeLists.txt [iso-8859-1] Sun Sep 4 17:33:34
2011
@@ -39,6 +39,8 @@
if(MSVC)
target_link_libraries(comctl32_winetest uuid)
+else()
+ allow_warnings(comctl32_winetest)
endif()
set_module_type(comctl32_winetest win32cui)
Modified: trunk/rostests/winetests/fusion/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/fusion/CMakeLis…
==============================================================================
--- trunk/rostests/winetests/fusion/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/rostests/winetests/fusion/CMakeLists.txt [iso-8859-1] Sun Sep 4 17:33:34 2011
@@ -15,3 +15,7 @@
set_module_type(fusion_winetest win32cui)
add_importlibs(fusion_winetest user32 msvcrt kernel32 ntdll)
add_cd_file(TARGET fusion_winetest DESTINATION reactos/bin FOR all)
+
+if(NOT MSVC)
+ allow_warnings(fusion_winetest)
+endif()
Modified: trunk/rostests/winetests/kernel32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/kernel32/CMakeL…
==============================================================================
--- trunk/rostests/winetests/kernel32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/rostests/winetests/kernel32/CMakeLists.txt [iso-8859-1] Sun Sep 4 17:33:34
2011
@@ -2,6 +2,8 @@
add_definitions(
-D__ROS_LONG64__
-D_DLL -D__USE_CRTIMP)
+
+remove_definitions(-DWINVER=0x502 -D_WIN32_IE=0x600 -D_WIN32_WINNT=0x502)
set_rc_compiler()
@@ -49,4 +51,6 @@
set_module_type(kernel32_winetest win32cui)
add_importlibs(kernel32_winetest user32 advapi32 msvcrt kernel32 ntdll)
+allow_warnings(kernel32_winetest)
+
add_cd_file(TARGET kernel32_winetest DESTINATION reactos/bin FOR all)
Modified: trunk/rostests/winetests/msvcrt/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/msvcrt/CMakeLis…
==============================================================================
--- trunk/rostests/winetests/msvcrt/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/rostests/winetests/msvcrt/CMakeLists.txt [iso-8859-1] Sun Sep 4 17:33:34 2011
@@ -24,6 +24,8 @@
if(MSVC)
target_link_libraries(msvcrt_winetest oldnames)
+else()
+ allow_warnings(msvcrt_winetest)
endif()
set_module_type(msvcrt_winetest win32cui)
Modified: trunk/rostests/winetests/ntdll/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/ntdll/CMakeList…
==============================================================================
--- trunk/rostests/winetests/ntdll/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/rostests/winetests/ntdll/CMakeLists.txt [iso-8859-1] Sun Sep 4 17:33:34 2011
@@ -29,3 +29,6 @@
set_module_type(ntdll_winetest win32cui)
add_importlibs(ntdll_winetest user32 msvcrt kernel32 ntdll)
add_cd_file(TARGET ntdll_winetest DESTINATION reactos/bin FOR all)
+if(NOT MSVC)
+ allow_warnings(ntdll_winetest)
+endif()
Modified: trunk/rostests/winetests/powrprof/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/powrprof/CMakeL…
==============================================================================
--- trunk/rostests/winetests/powrprof/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/rostests/winetests/powrprof/CMakeLists.txt [iso-8859-1] Sun Sep 4 17:33:34
2011
@@ -8,3 +8,7 @@
set_module_type(powrprof_winetest win32cui)
add_importlibs(powrprof_winetest advapi32 powrprof msvcrt kernel32 ntdll)
add_cd_file(TARGET powrprof_winetest DESTINATION reactos/bin FOR all)
+
+if(NOT MSVC)
+ allow_warnings(powrprof_winetest)
+endif()
Modified: trunk/rostests/winetests/rpcrt4/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/rpcrt4/CMakeLis…
==============================================================================
--- trunk/rostests/winetests/rpcrt4/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/rostests/winetests/rpcrt4/CMakeLists.txt [iso-8859-1] Sun Sep 4 17:33:34 2011
@@ -1,5 +1,6 @@
-remove_definitions(-D_WIN32_WINNT=0x502)
+remove_definitions(-DWINVER=0x502 -D_WIN32_IE=0x600 -D_WIN32_WINNT=0x502)
+
add_definitions(-D_WIN32_WINNT=0x500)
add_definitions(
@@ -44,3 +45,7 @@
set_module_type(rpcrt4_winetest win32cui)
add_importlibs(rpcrt4_winetest ole32 rpcrt4 msvcrt kernel32 ntdll)
add_cd_file(TARGET rpcrt4_winetest DESTINATION reactos/bin FOR all)
+
+if(NOT MSVC)
+ allow_warnings(rpcrt4_winetest)
+endif()
Modified: trunk/rostests/winetests/setupapi/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/setupapi/CMakeL…
==============================================================================
--- trunk/rostests/winetests/setupapi/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/rostests/winetests/setupapi/CMakeLists.txt [iso-8859-1] Sun Sep 4 17:33:34
2011
@@ -19,3 +19,7 @@
set_module_type(setupapi_winetest win32cui)
add_importlibs(setupapi_winetest advapi32 setupapi user32 msvcrt kernel32 ntdll)
add_cd_file(TARGET setupapi_winetest DESTINATION reactos/bin FOR all)
+
+if(NOT MSVC)
+ allow_warnings(setupapi_winetest)
+endif()
Modified: trunk/rostests/winetests/shdocvw/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/shdocvw/CMakeLi…
==============================================================================
--- trunk/rostests/winetests/shdocvw/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/rostests/winetests/shdocvw/CMakeLists.txt [iso-8859-1] Sun Sep 4 17:33:34 2011
@@ -15,3 +15,7 @@
set_module_type(shdocvw_winetest win32cui)
add_importlibs(shdocvw_winetest gdi32 shell32 ole32 oleaut32 user32 advapi32 msvcrt
kernel32 ntdll)
add_cd_file(TARGET shdocvw_winetest DESTINATION reactos/bin FOR all)
+
+if(NOT MSVC)
+ allow_warnings(shdocvw_winetest)
+endif()
Modified: trunk/rostests/winetests/user32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/user32/CMakeLis…
==============================================================================
--- trunk/rostests/winetests/user32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/rostests/winetests/user32/CMakeLists.txt [iso-8859-1] Sun Sep 4 17:33:34 2011
@@ -38,3 +38,7 @@
set_module_type(user32_winetest win32cui)
add_importlibs(user32_winetest user32 gdi32 advapi32 msvcrt kernel32 ntdll)
add_cd_file(TARGET user32_winetest DESTINATION reactos/bin FOR all)
+
+if(NOT MSVC)
+ allow_warnings(user32_winetest)
+endif()
Modified: trunk/rostests/winetests/winmm/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/winmm/CMakeList…
==============================================================================
--- trunk/rostests/winetests/winmm/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/rostests/winetests/winmm/CMakeLists.txt [iso-8859-1] Sun Sep 4 17:33:34 2011
@@ -17,3 +17,7 @@
set_module_type(winmm_winetest win32cui)
add_importlibs(winmm_winetest winmm user32 msvcrt kernel32 ntdll)
add_cd_file(TARGET winmm_winetest DESTINATION reactos/bin FOR all)
+
+if(NOT MSVC)
+ allow_warnings(winmm_winetest)
+endif()
Modified: trunk/rostests/winetests/ws2_32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/ws2_32/CMakeLis…
==============================================================================
--- trunk/rostests/winetests/ws2_32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/rostests/winetests/ws2_32/CMakeLists.txt [iso-8859-1] Sun Sep 4 17:33:34 2011
@@ -8,3 +8,7 @@
set_module_type(ws2_32_winetest win32cui)
add_importlibs(ws2_32_winetest ws2_32 user32 msvcrt kernel32 ntdll)
add_cd_file(TARGET ws2_32_winetest DESTINATION reactos/bin FOR all)
+
+if(NOT MSVC)
+ allow_warnings(ws2_32_winetest)
+endif()