grim/guifications3
Clone
Summary
Browse
Changes
Graph
the start of the conversion to gplugin
2012-04-30, Gary Kramlich
65091b5b15de
the start of the conversion to gplugin
cmake_minimum_required
(
VERSION
2.8
)
set
(
CMAKE_MODULE_PATH
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake/Modules
)
include
(
gflib
)
GFLIB_LIBRARY_PROJECT
(
gflib
0
0
1
dev
)
pkg_check_modules
(
GPLUGIN
REQUIRED
gplugin>=0.0.1
)
pkg_check_modules
(
GIO
REQUIRED
gio-2.0>=2.26.0
)
include_directories
(
${
CMAKE_SOURCE_DIR
}
${
CMAKE_BINARY_DIR
}
${
GIO_INCLUDE_DIRS
}
${
GPLUGIN_INCLUDE_DIRS
}
)
link_directories
(
${
GIO_LIBRARY_DIRS
}
${
GPLUGIN_LIBRARY_DIRS
}
)
# Subdirectories
add_subdirectory
(
gflib
)
add_subdirectory
(
cmake
)
add_subdirectory
(
contrib
)
add_subdirectory
(
doc
)
add_subdirectory
(
po
)
add_subdirectory
(
tests
)
###############################################################################
# Install Stuff
###############################################################################
# documentation
install
(
FILES
AUTHORS
ChangeLog
NEWS
README
DESTINATION
share/doc/gflib
)
# pkg-config files
install
(
FILES
${
CMAKE_CURRENT_BINARY_DIR
}
/gflib.pc
DESTINATION
lib/pkgconfig
)