[cmake-commits] alex committed eCos.cmake 1.1 1.2
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Jul 10 17:11:59 EDT 2007
Update of /cvsroot/CMake/CMake/Modules/Platform
In directory public:/mounts/ram/cvs-serv31986
Modified Files:
eCos.cmake
Log Message:
ENH: add the ecos include dir and the ecos definitions by default
Alex
Index: eCos.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/Platform/eCos.cmake,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- eCos.cmake 9 Jul 2007 17:07:23 -0000 1.1
+++ eCos.cmake 10 Jul 2007 21:11:57 -0000 1.2
@@ -38,6 +38,8 @@
ENDIF(NOT ECOS_SYSTEM_CONFIG_HEADER_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")
# special link commands for eCos executables
More information about the Cmake-commits
mailing list