-
Notifications
You must be signed in to change notification settings - Fork 7
funkey/cmake
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
CMake build system ================== Modules are libraries and binaries. A project consists of several libraries and binaries. For your project, create a top level CMakeLists.txt, containing at least the following, assuming that your libraries are defined in 'libraries' and your binaries are in 'binaries': include(${CMAKE_SOURCE_DIR}/cmake/include/define_module.cmake) add_subdirectory(libraries) add_subdirectory(binaries) For each module, simply add a line like define_module( <name of module> [BINARY|LIBRARY] [SOURCES <source files>] [LINKS <other modules and 3rd parties>] [INCLUDES <additional includes needed by the module>]) to the respective CMakeLists.txt. If not specified, the default is to generate a BINARY module from all *.cpp files in the directory and subdirectories.
About
module-based cmake build system
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published