better compilation
This commit is contained in:
parent
2c80b6000e
commit
67e11d9a8b
|
@ -2,7 +2,7 @@ project(HURRICANE)
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 2.4.0)
|
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(Qt4 REQUIRED) # find and setup Qt4 for this project
|
||||||
FIND_PACKAGE(BISON REQUIRED)
|
FIND_PACKAGE(BISON REQUIRED)
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
set(includes RdsUnit.h)
|
set(includes RdsUnit.h)
|
||||||
|
|
||||||
include_directories(${HURRICANE_SOURCE_DIR}/hurricane)
|
|
||||||
|
|
||||||
add_custom_target(DTRParser echo "Creating DTRParser")
|
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/ParserDtrGram.cpp GENERATED)
|
||||||
SET_SOURCE_FILES_PROPERTIES(${HURRICANE_BINARY_DIR}/analogic/ParserDtrScan.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
|
add_library(analogic SHARED
|
||||||
${DST_SRCS}
|
${DST_SRCS}
|
||||||
|
|
Loading…
Reference in New Issue