ENH: add the ecos include dir and the ecos definitions by default
Alex
This commit is contained in:
parent
9f2ee61cc8
commit
1f7e8e6f0b
@ -38,6 +38,8 @@ IF(NOT ECOS_SYSTEM_CONFIG_HEADER_PATH)
|
|||||||
ENDIF(NOT ECOS_SYSTEM_CONFIG_HEADER_PATH)
|
ENDIF(NOT ECOS_SYSTEM_CONFIG_HEADER_PATH)
|
||||||
|
|
||||||
GET_FILENAME_COMPONENT(ECOS_LIBTARGET_DIRECTORY "${ECOS_SYSTEM_CONFIG_HEADER_PATH}" PATH)
|
GET_FILENAME_COMPONENT(ECOS_LIBTARGET_DIRECTORY "${ECOS_SYSTEM_CONFIG_HEADER_PATH}" PATH)
|
||||||
|
INCLUDE_DIRECTORIES(${ECOS_SYSTEM_CONFIG_HEADER_PATH})
|
||||||
|
ADD_DEFINITIONS(-D__ECOS__=1 -D__ECOS=1)
|
||||||
SET(ECOS_LIBTARGET_DIRECTORY "${ECOS_LIBTARGET_DIRECTORY}/lib")
|
SET(ECOS_LIBTARGET_DIRECTORY "${ECOS_LIBTARGET_DIRECTORY}/lib")
|
||||||
|
|
||||||
# special link commands for eCos executables
|
# special link commands for eCos executables
|
||||||
|
Loading…
x
Reference in New Issue
Block a user