Player and CMake

From The Player Project

Jump to: navigation, search
(Base directory)
 
Line 20: Line 20:
===Base directory===
===Base directory===
-
CMake requires at least one CMakeLists.txt file for project configuration. Generally, projects distribute the configuration, and place a CMakeLists.txt in each subdirectory of the source tree as well. This allows you to keep things modular: the base directory CMakeLists.txt can handle setting global configuration (project name, version, project dependency discovery), and the subdirectory files can handle.
+
CMake requires at least one CMakeLists.txt file for project configuration. Generally, projects distribute the configuration, and place a CMakeLists.txt in each subdirectory of the source tree as well. This allows you to keep things modular: the base directory CMakeLists.txt can handle setting global configuration (project name, version, project dependency discovery), and the subdirectory files can handle creating individual executables, libraries, tests, etc.
<source lang="cmake">
<source lang="cmake">

Latest revision as of 04:09, 1 January 2012

Personal tools