Text archives Help
- From: bigler@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [Manta] r1930 - trunk/CMake
- Date: Fri, 14 Dec 2007 16:37:26 -0700 (MST)
Author: bigler
Date: Fri Dec 14 16:37:25 2007
New Revision: 1930
Modified:
trunk/CMake/FindParsers.cmake
Log:
manta-test/CMake/FindParsers.cmake
Use the lexer_base in the name of the lexer output. I do this for
the parser, so I should do it here. It will also prevent name
clashes with multiple scanners.
Modified: trunk/CMake/FindParsers.cmake
==============================================================================
--- trunk/CMake/FindParsers.cmake (original)
+++ trunk/CMake/FindParsers.cmake Fri Dec 14 16:37:25 2007
@@ -112,7 +112,7 @@
)
GET_FILENAME_COMPONENT(lexer_base "${lexer}" NAME_WE)
- SET(FLEX_C "${CMAKE_CURRENT_BINARY_DIR}/lex.yy.c")
+ SET(FLEX_C "${CMAKE_CURRENT_BINARY_DIR}/lex.${lexer_base}.c")
SET(FLEX_CC "${CMAKE_CURRENT_BINARY_DIR}/${lexer_base}.cc")
ADD_CUSTOM_COMMAND(
- [Manta] r1930 - trunk/CMake, bigler, 12/14/2007
Archive powered by MHonArc 2.6.16.