@@ -1323,23 +1323,23 @@ else(NOT CMAKE_CROSSCOMPILING)
1323
1323
1324
1324
set (GETARCH_DIR "${PROJECT_BINARY_DIR} /getarch_build" )
1325
1325
set (GETARCH_BIN "getarch${CMAKE_EXECUTABLE_SUFFIX} " )
1326
- file (MAKE_DIRECTORY ${GETARCH_DIR} )
1327
- configure_file (${TARGET_CONF_TEMP} ${GETARCH_DIR} /${TARGET_CONF} COPYONLY )
1326
+ file (MAKE_DIRECTORY " ${GETARCH_DIR} " )
1327
+ configure_file (" ${TARGET_CONF_TEMP} " " ${GETARCH_DIR} /${TARGET_CONF} " COPYONLY )
1328
1328
if (NOT "${CMAKE_SYSTEM_NAME} " STREQUAL "WindowsStore" )
1329
1329
if (CMAKE_ASM_COMPILER_ID STREQUAL "" )
1330
- try_compile (GETARCH_RESULT ${GETARCH_DIR}
1330
+ try_compile (GETARCH_RESULT " ${GETARCH_DIR} "
1331
1331
SOURCES ${GETARCH_SRC}
1332
1332
CMAKE_FLAGS "-DCMAKE_ASM_COMPILER=${CMAKE_C_COMPILER} "
1333
1333
COMPILE_DEFINITIONS ${EXFLAGS} ${GETARCH_FLAGS} -I "${GETARCH_DIR} " -I "${PROJECT_SOURCE_DIR} " -I "${PROJECT_BINARY_DIR} "
1334
1334
OUTPUT_VARIABLE GETARCH_LOG
1335
- COPY_FILE ${PROJECT_BINARY_DIR} /${GETARCH_BIN}
1335
+ COPY_FILE " ${PROJECT_BINARY_DIR} /${GETARCH_BIN} "
1336
1336
)
1337
1337
else ()
1338
- try_compile (GETARCH_RESULT ${GETARCH_DIR}
1338
+ try_compile (GETARCH_RESULT " ${GETARCH_DIR} "
1339
1339
SOURCES ${GETARCH_SRC}
1340
1340
COMPILE_DEFINITIONS ${EXFLAGS} ${GETARCH_FLAGS} -I "${GETARCH_DIR} " -I "${PROJECT_SOURCE_DIR} " -I "${PROJECT_BINARY_DIR} "
1341
1341
OUTPUT_VARIABLE GETARCH_LOG
1342
- COPY_FILE ${PROJECT_BINARY_DIR} /${GETARCH_BIN}
1342
+ COPY_FILE " ${PROJECT_BINARY_DIR} /${GETARCH_BIN} "
1343
1343
)
1344
1344
endif ()
1345
1345
if (NOT ${GETARCH_RESULT} )
@@ -1370,19 +1370,19 @@ execute_process(COMMAND "${PROJECT_BINARY_DIR}/${GETARCH_BIN}" 1 OUTPUT_VARIABLE
1370
1370
message (STATUS "GETARCH results:\n ${GETARCH_MAKE_OUT} " )
1371
1371
1372
1372
# append config data from getarch to the TARGET file and read in CMake vars
1373
- file (APPEND ${TARGET_CONF_TEMP} ${GETARCH_CONF_OUT} )
1373
+ file (APPEND " ${TARGET_CONF_TEMP} " ${GETARCH_CONF_OUT} )
1374
1374
ParseGetArchVars (${GETARCH_MAKE_OUT} )
1375
1375
1376
1376
set (GETARCH2_DIR "${PROJECT_BINARY_DIR} /getarch2_build" )
1377
1377
set (GETARCH2_BIN "getarch_2nd${CMAKE_EXECUTABLE_SUFFIX} " )
1378
- file (MAKE_DIRECTORY ${GETARCH2_DIR} )
1379
- configure_file (${TARGET_CONF_TEMP} ${GETARCH2_DIR} /${TARGET_CONF} COPYONLY )
1378
+ file (MAKE_DIRECTORY " ${GETARCH2_DIR} " )
1379
+ configure_file (" ${TARGET_CONF_TEMP} " " ${GETARCH2_DIR} /${TARGET_CONF} " COPYONLY )
1380
1380
if (NOT "${CMAKE_SYSTEM_NAME} " STREQUAL "WindowsStore" )
1381
- try_compile (GETARCH2_RESULT ${GETARCH2_DIR}
1382
- SOURCES ${PROJECT_SOURCE_DIR} /getarch_2nd.c
1381
+ try_compile (GETARCH2_RESULT " ${GETARCH2_DIR} "
1382
+ SOURCES " ${PROJECT_SOURCE_DIR} /getarch_2nd.c"
1383
1383
COMPILE_DEFINITIONS ${EXFLAGS} ${GETARCH_FLAGS} ${GETARCH2_FLAGS} -I "${GETARCH2_DIR} " -I "${PROJECT_SOURCE_DIR} " -I "${PROJECT_BINARY_DIR} "
1384
1384
OUTPUT_VARIABLE GETARCH2_LOG
1385
- COPY_FILE ${PROJECT_BINARY_DIR} /${GETARCH2_BIN}
1385
+ COPY_FILE " ${PROJECT_BINARY_DIR} /${GETARCH2_BIN} "
1386
1386
)
1387
1387
1388
1388
if (NOT ${GETARCH2_RESULT} )
@@ -1395,9 +1395,9 @@ execute_process(COMMAND "${PROJECT_BINARY_DIR}/${GETARCH2_BIN}" 0 OUTPUT_VARIABL
1395
1395
execute_process (COMMAND "${PROJECT_BINARY_DIR} /${GETARCH2_BIN} " 1 OUTPUT_VARIABLE GETARCH2_CONF_OUT )
1396
1396
1397
1397
# append config data from getarch_2nd to the TARGET file and read in CMake vars
1398
- file (APPEND ${TARGET_CONF_TEMP} ${GETARCH2_CONF_OUT} )
1398
+ file (APPEND " ${TARGET_CONF_TEMP} " ${GETARCH2_CONF_OUT} )
1399
1399
1400
- configure_file (${TARGET_CONF_TEMP} ${TARGET_CONF_DIR} /${TARGET_CONF} COPYONLY )
1400
+ configure_file (" ${TARGET_CONF_TEMP} " " ${TARGET_CONF_DIR} /${TARGET_CONF} " COPYONLY )
1401
1401
1402
1402
ParseGetArchVars (${GETARCH2_MAKE_OUT} )
1403
1403
0 commit comments