- Add note about upcoming book, Minimal CMake
- Add find module example to
examples/more
section
- Update
examples/more/components
after discussion on CMake Discourse
- Add new example to
examples/more
folder covering superbuilds (see superbuild). - Update
.sh/.bat
configure scripts to remove redundant-S .
command line argument. - See PR #10 for both changes.
- Added new CMake intro article link (cd1cbeb739057b017085d8f7bd25bac6b2059942)
- Update examples to improved project structure
- Add new info to README.md about project structure
- Add a new example (nested-dependencies) to discuss some requirements of
<proj>-config.cmake
files - Add reference to cmake-helpers repo
- Add a new example project to examples/more to demonstrate
ExternalProject_Add
- Shuffle
FetchContext
description to new README file in the relevant directory - Update README.md with a reference to the new
ExternalProject_Add
example - Add a couple helper
.bat/.sh
scripts forExternalProject_Add
andFetchContent
examples
- Rename branch
- Add
.bat
scripts for static-versioned library in examples/more - Add
.cmake-format.yml
file and auto-format allCMakeLists.txt
files - Add simple script to run
cmake-format
across allCMakeLists.txt
files - Add
.sh
scripts for static-versioned library in examples/more
- Add
.sh
files for all examples/core projects
- Add
.bat
files for all examples/core projects - Add a new example project to examples/more to demonstrate
FetchContent
- Updated README.md with some information about
FetchContent
and additional links
- Included
DEBUG_POSTFIX
section in README.md - Added
DEBUG_POSTFIX
to examples/core/static project
- Updated README.md for more/components example section
- Updated CMakeLists.txt files to require CMake 3.15
- Added example of using CMake Components in More section
- Added
%cd%
as well as$(pwd)
to example install instructions
- Updated guidance on CMake
--verbose
flag - Updated info about
CMAKE_EXPORT_COMPILE_COMMANDS
- Updated CMakeLists.txt files to require CMake 3.13
- Updated CMakeLists.txt files to use
target_sources
- Added more CMake YouTube videos to the root README
- Updated Visual Studio examples to use 2019 instead of 2017
- A few other minor tweaks in the README files
- Small updates to
shared
andshared-export
libraries to include RUNTIME and ARCHIVE locations (CMake picks sensible defaults in later versions but this provides more customization points for users) - Add link to new CMake video by Craig Scott from CppCon 2019
- Added new line at end of files
- Added more info about installing to custom locations in Install section
- Added miscellaneous section to main README.md with some useful CMake techniques
- Added a new example in
more
section titledheader-only-defines
with an example of usingtarget_compile_definitions
in the application andtarget_compile_features
in the library
- Added a few more links to the main README.md file
- Added experimental
static-auto-install
example - Reorganised folders to split up core examples from slightly more advanced cases
- Do a pass over READMEs to ensure they are up to date
- Added README for
static-versioned
example and updated comments inCMakeLists.txt
files for that project
- Added a new example folder
static-versioned
to show an example of setting up aCMakeLists.txt
file to handle installing multiple versions of the same library
- Added an explanation for the flag
gtest_force_shared_crt
passed to CMake when building Google Test on Windows
- Fixed
.gitattributes
file (finally) to correctly display languages in repo - Merged PR by 0xflotus to fix a spelling mistake
- Added LICENSE
- Publish!
- Rename
dynamic
toshared
for more standard naming - Add
shared-export
example using CMakeGenerateExportHeader
instead of custom export file