Changeset 582

Show
Ignore:
Timestamp:
07/08/08 03:20:17 (5 months ago)
Author:
moenicke
Message:

* added include path and the lexer

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/rphp/CMakeLists.txt

    r558 r582  
    44set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules ) 
    55 
     6FIND_PACKAGE(ICU REQUIRED) 
     7 
    68add_subdirectory(tools) 
    79 
    8 include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} tools/kdevelop-pg/include
     10include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} tools/kdevelop-pg/include ${ICU_INCLUDE_DIRS}/unicode ${ICU_INCLUDE_DIRS}
    911 
    1012set(SRC_FILES 
     
    1214  compiler/parser/rphp_parser.cpp 
    1315  compiler/parser/rphp_visitor.cpp 
     16  compiler/parser/phplexer.cpp 
    1417) 
    1518 
    1619add_executable( rphp ${SRC_FILES} ) 
    1720 
     21target_link_libraries( rphp  ${ICU_LIBRARIES} ${ICU_I18_LIBRARIES} )