[CMake] breakage in recent cmake cvs
Alexander Neundorf
a.neundorf-work at gmx.net
Tue Jun 14 12:53:40 EDT 2005
Hi,
until recently the attached script worked ok, now I get the following
error message:
syntax error, unexpected cal_SYMBOL, expecting cal_RCURLY (40), when
parsing string "${/home/alex/src/cmakebug/main.cpp_deps}"
Syntax error in cmake code at
Is this intended ?
I just tried cvs up -D "2005-06-10", this version still worked.
Bye
Alex
--
Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben stern gratis
++ Jetzt anmelden & testen ++ http://www.gmx.net/de/go/promail ++
-------------- next part --------------
#add an additional file to the list of files a source file depends on
MACRO(ADD_FILE_DEPENDANCY file)
SET(${file}_deps ${${file}_deps} ${ARGN})
SET_SOURCE_FILES_PROPERTIES(
${file}
PROPERTIES
OBJECT_DEPENDS
"${${file}_deps}"
)
ENDMACRO(ADD_FILE_DEPENDANCY)
ADD_FILE_DEPENDANCY(${CMAKE_CURRENT_SOURCE_DIR}/main.cpp foo.c)
ADD_EXECUTABLE(foo ${CMAKE_CURRENT_SOURCE_DIR}/main.cpp)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: text/x-c++src
Size: 67 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20050614/4ca1048b/main.cpp
More information about the CMake
mailing list