OCT 1. 工程明确指定为C语言
This commit is contained in:
parent
c9b4bb1105
commit
fbca4be831
|
@ -4,7 +4,7 @@ IF (VCPE_AGENT)
|
||||||
SET(PROJECT_TARGET_AGENT vcpe_agent)
|
SET(PROJECT_TARGET_AGENT vcpe_agent)
|
||||||
ENDIF ()
|
ENDIF ()
|
||||||
|
|
||||||
PROJECT(${PROJECT_TARGET})
|
PROJECT(${PROJECT_TARGET} LANGUAGES C)
|
||||||
|
|
||||||
ADD_DEFINITIONS(${COMMON_DEFINE})
|
ADD_DEFINITIONS(${COMMON_DEFINE})
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
SET(LIB_PROJECT_TARGET common)
|
SET(LIB_PROJECT_TARGET common)
|
||||||
|
|
||||||
PROJECT(${LIB_PROJECT_TARGET} VERSION 1.1.0)
|
PROJECT(${LIB_PROJECT_TARGET} LANGUAGES C VERSION 1.1.0)
|
||||||
|
|
||||||
STRING(REPLACE ";" ", " BUILD_CONFIG_INFO "${COMMON_DEFINE}")
|
STRING(REPLACE ";" ", " BUILD_CONFIG_INFO "${COMMON_DEFINE}")
|
||||||
CONFIGURE_FILE(lib_config.h.in lib_config.h)
|
CONFIGURE_FILE(lib_config.h.in lib_config.h)
|
||||||
|
|
Loading…
Reference in New Issue