better compilation

This commit is contained in:
Christophe Alexandre 2007-12-27 11:46:42 +00:00
parent 2c80b6000e
commit 67e11d9a8b
2 changed files with 5 additions and 3 deletions

View File

@ -2,7 +2,7 @@ project(HURRICANE)
cmake_minimum_required(VERSION 2.4.0)
set(CMAKE_MODULE_PATH "cmake_modules/")
set(CMAKE_MODULE_PATH "${HURRICANE_SOURCE_DIR}/cmake_modules/")
find_package(Qt4 REQUIRED) # find and setup Qt4 for this project
FIND_PACKAGE(BISON REQUIRED)

View File

@ -1,6 +1,5 @@
set(includes RdsUnit.h)
include_directories(${HURRICANE_SOURCE_DIR}/hurricane)
add_custom_target(DTRParser echo "Creating DTRParser")
@ -27,7 +26,10 @@ ${HURRICANE_BINARY_DIR}/analogic/ParserDtrScan.cpp)
SET_SOURCE_FILES_PROPERTIES(${HURRICANE_BINARY_DIR}/analogic/ParserDtrGram.cpp GENERATED)
SET_SOURCE_FILES_PROPERTIES(${HURRICANE_BINARY_DIR}/analogic/ParserDtrScan.cpp GENERATED)
INCLUDE_DIRECTORIES(${HURRICANE_BINARY_DIR}/analogic/)
INCLUDE_DIRECTORIES(${HURRICANE_BINARY_DIR}/analogic/
${HURRICANE_SOURCE_DIR}/hurricane
${HURRICANE_SOURCE_DIR}/analogic
)
add_library(analogic SHARED
${DST_SRCS}