Changes between Version 1 and Version 2 of CMakeAddingALibrary
- Timestamp:
- Jun 12, 2007, 3:28:05 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CMakeAddingALibrary
v1 v2 4 4 To introduce a new library, which resides in the subdirectory `libs/libname`, follow these steps: 5 5 6 1. Create a new file `libs/libname/CMakeLists.txt` with your favorite text editor. This file will contain an invocation of the [wiki:CMakeLibraryProject `boost_library_project`macro], which identifies each Boost library to the build system. The invocation of the `boost_library_project` will look like this:6 1. Create a new file `libs/libname/CMakeLists.txt` with your favorite text editor. This file will contain an invocation of the [wiki:CMakeLibraryProject boost_library_project macro], which identifies each Boost library to the build system. The invocation of the `boost_library_project` will look like this: 7 7 {{{ 8 8 boost_library_project(