Changeset 3374 in CLRX


Ignore:
Timestamp:
Sep 14, 2017, 4:56:04 AM (21 months ago)
Author:
matszpk
Message:

CLRadeonExtender: Use only C++ compiler: rename Int128Detect.c to Int128Detect.cpp.

Location:
CLRadeonExtender/trunk
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/CMakeLists.txt

    r3372 r3374  
    313313    MESSAGE(STATUS "This is 32-bit")
    314314    IF(MSVC)
    315         SET(TRYCOMP_CFLAGS "")
    316315        SET(TRYCOMP_CXXFLAGS "")
    317316    ELSE(MSVC)
    318         SET(TRYCOMP_CFLAGS "-m32")
    319317        SET(TRYCOMP_CXXFLAGS "-m32 ${CPP_STANDARD}")
    320318    ENDIF(MSVC)
    321319ELSE(BUILD_32BIT)
    322320    IF(MSVC)
    323         SET(TRYCOMP_CFLAGS "")
    324321        SET(TRYCOMP_CXXFLAGS "")
    325322    ELSE(MSVC)
    326         SET(TRYCOMP_CFLAGS "")
    327323        SET(TRYCOMP_CXXFLAGS "${CPP_STANDARD}")
    328324    ENDIF(MSVC)
    329325ENDIF(BUILD_32BIT)
    330326
    331 TRY_COMPILE(HAVE_INT128 "${PROJECT_BINARY_DIR}" "${PROJECT_SOURCE_DIR}/Int128Detect.c"
    332             COMPILE_DEFINITIONS "${TRYCOMP_C_CFLAGS}")
     327TRY_COMPILE(HAVE_INT128 "${PROJECT_BINARY_DIR}" "${PROJECT_SOURCE_DIR}/Int128Detect.cpp"
     328            COMPILE_DEFINITIONS "${TRYCOMP_CXX_CFLAGS}")
    333329TRY_COMPILE(HAVE_CALL_ONCE "${PROJECT_BINARY_DIR}" "${PROJECT_SOURCE_DIR}/ThreadOnce.cpp"
    334330            COMPILE_DEFINITIONS "${TRYCOMP_CXX_CFLAGS}")
Note: See TracChangeset for help on using the changeset viewer.