hurricane configuration
This commit is contained in:
parent
557dcb7638
commit
8395be1cc3
|
@ -5,9 +5,13 @@ cmake_minimum_required(VERSION 2.4.0)
|
|||
set(CMAKE_MODULE_PATH "${HURRICANE_SOURCE_DIR}/cmake_modules/")
|
||||
|
||||
find_package(Qt4 REQUIRED) # find and setup Qt4 for this project
|
||||
FIND_PACKAGE(BISON REQUIRED)
|
||||
FIND_PACKAGE(FLEX REQUIRED)
|
||||
find_package(BISON REQUIRED)
|
||||
find_package(FLEX REQUIRED)
|
||||
|
||||
add_subdirectory(hurricane)
|
||||
add_subdirectory(analogic)
|
||||
add_subdirectory(figures)
|
||||
|
||||
set(DEST_DIR "$ENV{DESTDIR}")
|
||||
configure_file(${HURRICANE_SOURCE_DIR}/hurricane.pc.cmake hurricane.pc @ONLY)
|
||||
install(FILES ${HURRICANE_BINARY_DIR}/hurricane.pc DESTINATION /share/pkgconfig)
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
prefix=@DEST_DIR@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${exec_prefix}/include
|
||||
|
||||
Name: hurricane
|
||||
Description: Hurricane Libs
|
||||
Version: 2.0.b
|
||||
Libs: -L${libdir} -lhurricane
|
||||
Cflags: -I${includedir}/hurricane
|
Loading…
Reference in New Issue