pip 0.4.2 alpha r2

git-svn-id: svn://db.shs.com.ru/pip@3 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
2015-02-28 13:05:45 +00:00
parent 03100ecfc3
commit 8e451c891d
11 changed files with 213 additions and 331 deletions

View File

@@ -47,7 +47,7 @@ macro (pip_code_model SRC RESULT)
endif ()
if (NEED_PARSE)
message(STATUS "Creating code model based on \"${SRC}\", please wait ... ")
execute_process(COMMAND ${PIP_CMG} -qPEs -o ${PROJECT_NAME}_ccm -I${PIP_INCLUDES} ${SRC} OUTPUT_VARIABLE CMG_OUT)
execute_process(COMMAND ${PIP_CMG} -qP -o ${PROJECT_NAME}_ccm -I${PIP_INCLUDES} ${SRC} OUTPUT_VARIABLE CMG_OUT)
message(STATUS "Creating code model done, to use it include \"${PROJECT_NAME}_ccm.h\"")
string(REPLACE "\n" ";" CMG_LIST ${CMG_OUT})
string(REPLACE "\n" " " CMG_LIST_S ${CMG_OUT})