[CMAKE]
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 1 Sep 2012 11:35:12 +0000 (11:35 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 1 Sep 2012 11:35:12 +0000 (11:35 +0000)
* Addendum to r57181. By Hermès Bélusca.

svn path=/trunk/; revision=57210

rostests/apitests/CMakeLists.txt
rostests/apitests/crt/crtdll_crt_apitest.cmake
rostests/apitests/crt/msvcrt_crt_apitest.cmake
rostests/apitests/crt/ntdll_crt_apitest.cmake
rostests/apitests/ntdll/CMakeLists.txt

index d89a3e2..20bcaaf 100644 (file)
@@ -10,7 +10,7 @@ add_subdirectory(msvcrt)
 add_subdirectory(ntdll)
 add_subdirectory(powrprof)
 add_subdirectory(user32)
 add_subdirectory(ntdll)
 add_subdirectory(powrprof)
 add_subdirectory(user32)
-if(NOT MSVC AND ARCH MATCHES i386)
+if(NOT MSVC AND ARCH STREQUAL "i386")
     add_subdirectory(w32kdll)
     add_subdirectory(w32knapi)
 endif()
     add_subdirectory(w32kdll)
     add_subdirectory(w32knapi)
 endif()
index d8b8571..61f2af5 100644 (file)
@@ -525,7 +525,7 @@ list(APPEND SOURCE_CRTDLL
 #    wscanf.c
 )
 
 #    wscanf.c
 )
 
-if (ARCH MATCHES i386)
+if(ARCH STREQUAL "i386")
     list(APPEND SOURCE_CRTDLL
     #    _CIpow.c
     #    _ftol.c
     list(APPEND SOURCE_CRTDLL
     #    _CIpow.c
     #    _ftol.c
@@ -542,7 +542,7 @@ if (ARCH MATCHES i386)
     #    _aullshr.c
     #    _chkstk.c
     )
     #    _aullshr.c
     #    _chkstk.c
     )
-elseif (ARCH MATCHES amd64)
+elseif(ARCH STREQUAL "amd64")
     list(APPEND SOURCE_CRTDLL
     #    __C_specific_handler
     #    _setjmp.c
     list(APPEND SOURCE_CRTDLL
     #    __C_specific_handler
     #    _setjmp.c
index 3bf1d6e..04880a3 100644 (file)
@@ -1263,7 +1263,7 @@ list(APPEND SOURCE_MSVCRT
 #    wscanf_s.c
 )
 
 #    wscanf_s.c
 )
 
-if (ARCH MATCHES i386)
+if(ARCH STREQUAL "i386")
     list(APPEND SOURCE_MSVCRT
     #    _CIacos.c
     #    _CIasin.c
     list(APPEND SOURCE_MSVCRT
     #    _CIacos.c
     #    _CIasin.c
@@ -1350,7 +1350,7 @@ if (ARCH MATCHES i386)
     #    _seh_longjmp_unwind.c
     #    -norelay _setjmp3.c
     )
     #    _seh_longjmp_unwind.c
     #    -norelay _setjmp3.c
     )
-elseif (ARCH MATCHES amd64)
+elseif(ARCH STREQUAL "amd64")
     list(APPEND SOURCE_MSVCRT
     #    __C_specific_handler
     #    _setjmp.c
     list(APPEND SOURCE_MSVCRT
     #    __C_specific_handler
     #    _setjmp.c
index 7450951..63a51d1 100644 (file)
@@ -124,7 +124,7 @@ list(APPEND SOURCE_NTDLL
 #    wcstoul.c
 )
 
 #    wcstoul.c
 )
 
-if (ARCH MATCHES i386)
+if(ARCH STREQUAL "i386")
     list(APPEND SOURCE_NTDLL
     #    _CIpow.c
     #    _ftol.c
     list(APPEND SOURCE_NTDLL
     #    _CIpow.c
     #    _ftol.c
@@ -141,7 +141,7 @@ if (ARCH MATCHES i386)
     #    _aullshr.c
     #    _chkstk.c
     )
     #    _aullshr.c
     #    _chkstk.c
     )
-elseif (ARCH MATCHES amd64)
+elseif(ARCH STREQUAL "amd64")
     list(APPEND SOURCE_NTDLL
     #    __C_specific_handler
     #    _setjmp.c
     list(APPEND SOURCE_NTDLL
     #    __C_specific_handler
     #    _setjmp.c
index c13df84..3dabc3a 100644 (file)
@@ -16,7 +16,7 @@ list(APPEND SOURCE
     ZwContinue.c
     testlist.c)
 
     ZwContinue.c
     testlist.c)
 
-if(ARCH MATCHES i386)
+if(ARCH STREQUAL "i386")
     list(APPEND SOURCE i386/ZwContinue.S)
 endif()
 
     list(APPEND SOURCE i386/ZwContinue.S)
 endif()