certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-cvs] certi CMakeLists.txt


From: CERTI CVS commits
Subject: [certi-cvs] certi CMakeLists.txt
Date: Fri, 06 Dec 2013 13:45:42 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Eric NOULARD <erk>      13/12/06 13:45:42

Modified files:
        .              : CMakeLists.txt 

Log message:
        Do not confuse host and target when cross-compiling

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/CMakeLists.txt?cvsroot=certi&r1=1.131&r2=1.132

Patches:
Index: CMakeLists.txt
===================================================================
RCS file: /sources/certi/certi/CMakeLists.txt,v
retrieving revision 1.131
retrieving revision 1.132
diff -u -b -r1.131 -r1.132
--- CMakeLists.txt      6 Dec 2013 12:55:04 -0000       1.131
+++ CMakeLists.txt      6 Dec 2013 13:45:42 -0000       1.132
@@ -32,13 +32,13 @@
 
 # Test 32/64 bits
 if("${CMAKE_SIZEOF_VOID_P}" EQUAL "8")
-   message(STATUS "Host is 64 bits")
+   message(STATUS "Target is 64 bits")
    add_definitions(-DHOST_IS_64BITS)
    if (WIN32)
        set(WINXXBITS Win64)
    endif(WIN32)
 else("${CMAKE_SIZEOF_VOID_P}" EQUAL "8")
-   message(STATUS "Host is 32 bits")
+   message(STATUS "Target is 32 bits")
    if (WIN32)
        set(WINXXBITS Win32)
    endif(WIN32)
@@ -47,10 +47,10 @@
 INCLUDE(TestBigEndian)
 TEST_BIG_ENDIAN(BIG_ENDIAN)
 IF(BIG_ENDIAN)
-   message(STATUS "Host is Big Endian")
+   message(STATUS "Target is Big Endian")
    ADD_DEFINITIONS(-DHOST_IS_BIG_ENDIAN)
 ELSE(BIG_ENDIAN)
-   message(STATUS "Host is Little Endian")
+   message(STATUS "Target is Little Endian")
 ENDIF(BIG_ENDIAN)
 
 # default behaviour is to build library as shared on all platform



reply via email to

[Prev in Thread] Current Thread [Next in Thread]