grim/gplate
Clone
Summary
Browse
Changes
Graph
made gtester spit out a log and added it to hgignore
2010-07-04, Gary Kramlich
6042cc7c5374
made gtester spit out a log and added it to hgignore
cmake_minimum_required
(
VERSION
2.8
)
set
(
CMAKE_MODULE_PATH
${
CMAKE_SOURCE_DIR
}
/cmake/Modules
)
include
(
FindGlib
)
project
(
gplate
)
include_directories
(
gplate
${
CMAKE_SOURCE_DIR
}
${
GLIB_INCLUDE_DIRS
}
${
GMODULE_INCLUDE_DIRS
}
)
link_directories
(
${
GLIB_LIBRARY_DIRS
}
${
GMODULE_LIBRARY_DIRS
}
)
add_definitions
(
-DGETTEXT_PACKAGE=
"gplate"
-DDATADIR=
"${CMAKE_INSTALL_PREFIX}/share"
-DLIBDIR=
"${CMAKE_INSTALL_PREFIX}/lib"
-DLOCALEDIR=
"${CMAKE_INSTALL_PREFIX}/locale"
-fPIC
-g
-g3
-Wall
)
set
(
GPLATE_MAJOR_VERSION
0
)
set
(
GPLATE_MINOR_VERSION
0
)
set
(
GPLATE_MICRO_VERSION
3
)
set
(
GPLATE_EXTRA_VERSION
dev
)
set
(
VERSION
${
GPLATE_MAJOR_VERSION
}
.
${
GPLATE_MINOR_VERSION
}
.
${
GPLATE_MICRO_VERSION
}
)
if
(
GPLATE_EXTRA_VERSION
)
set
(
VERSION
${
VERSION
}
.
${
GPLATE_EXTRA_VERSION
}
)
endif
(
GPLATE_EXTRA_VERSION
)
configure_file
(
gplate.pc.in
gplate.pc
@ONLY
)
add_subdirectory
(
gplate
)
enable_testing
()