Refer to other project-specific files at top-level

Having the include statements here will hopefully lead to others
quickly finding the list of prerequisite files needed to build.
This commit is contained in:
Roland Kaufmann
2013-07-05 00:58:29 +02:00
parent 91f96087b7
commit 9853407ded

View File

@@ -15,6 +15,15 @@ set (doxy_dir "Documentation")
set (${project}_MODULE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules")
list (APPEND CMAKE_MODULE_PATH ${${project}_MODULE_DIR})
# list of prerequisites for this particular project; this is in a
# separate file (in cmake/Modules sub-directory) because it is shared
# with the find module
include (${project}-prereqs)
# read the list of components from this file (in the project directory);
# it should set various lists with the names of the files to include
include (CMakeLists_files.cmake)
macro (prereqs_hook)
endmacro (prereqs_hook)