diff options
author | Stefan Radomski <github@mintwerk.de> | 2017-01-27 21:54:43 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2017-01-27 21:54:43 (GMT) |
commit | 7f83038a1ef642b883417cc984d1f8ca9f0bc64b (patch) | |
tree | fd9236e866a06b250992e84bbf41324adf93a9fd /test/ctest | |
parent | b450411ee8f0a57f3ec3909d65ecc289189e2b35 (diff) | |
download | uscxml-7f83038a1ef642b883417cc984d1f8ca9f0bc64b.zip uscxml-7f83038a1ef642b883417cc984d1f8ca9f0bc64b.tar.gz uscxml-7f83038a1ef642b883417cc984d1f8ca9f0bc64b.tar.bz2 |
Reactivated BUILD_AS_PLUGINS
Diffstat (limited to 'test/ctest')
-rw-r--r-- | test/ctest/scripts/test_generated_c.cmake | 31 |
1 files changed, 1 insertions, 30 deletions
diff --git a/test/ctest/scripts/test_generated_c.cmake b/test/ctest/scripts/test_generated_c.cmake index c170639..b130d29 100644 --- a/test/ctest/scripts/test_generated_c.cmake +++ b/test/ctest/scripts/test_generated_c.cmake @@ -15,36 +15,6 @@ if (CMD_RESULT) endif () message(STATUS "time for transforming to c machine") -# set(COMPILE_CMD_OBJ -# "-c" "${OUTDIR}/${TEST_FILE_NAME}.machine.c" -# "-o" "${OUTDIR}/${TEST_FILE_NAME}.machine.c.o" -# "-Ofast" "-ansi" "-m16") -# -# message(STATUS "${CC_BIN} ${COMPILE_CMD_OBJ}") -# execute_process( -# COMMAND time -p ${CC_BIN} ${COMPILE_CMD_OBJ} -# WORKING_DIRECTORY ${OUTDIR} RESULT_VARIABLE CMD_RESULT) -# if(CMD_RESULT) -# message(FATAL_ERROR "Error running gcc ${CC_BIN}: ${CMD_RESULT}") -# endif() -# file (SIZE "${OUTDIR}/${TEST_FILE_NAME}.machine.c.o" BINARY_SIZE) -# message("Size of compiled unit optimized for speed: ${BINARY_SIZE}") -# -# set(COMPILE_CMD_OBJ -# "-c" "${OUTDIR}/${TEST_FILE_NAME}.machine.c" -# "-o" "${OUTDIR}/${TEST_FILE_NAME}.machine.c.o" -# "-Os" "-ansi" "-m16") -# -# message(STATUS "${CC_BIN} ${COMPILE_CMD_OBJ}") -# execute_process( -# COMMAND time -p ${CC_BIN} ${COMPILE_CMD_OBJ} -# WORKING_DIRECTORY ${OUTDIR} RESULT_VARIABLE CMD_RESULT) -# if(CMD_RESULT) -# message(FATAL_ERROR "Error running gcc ${CC_BIN}: ${CMD_RESULT}") -# endif() -# file (SIZE "${OUTDIR}/${TEST_FILE_NAME}.machine.c.o" BINARY_SIZE) -# message("Size of compiled unit optimized for size: ${BINARY_SIZE}") - set(COMPILE_CMD_BIN "-O0" "-std=c++11" @@ -53,6 +23,7 @@ set(COMPILE_CMD_BIN "-o" "${OUTDIR}/${TEST_FILE_NAME}" "-L${CMAKE_LIBRARY_OUTPUT_DIRECTORY}" "-L${PROJECT_BINARY_DIR}/deps/xerces-c/lib" + "-L/opt/local/lib" "-luscxml" "-lxerces-c" "-include" "${OUTDIR}/${TEST_FILE_NAME}.machine.c" |