diff --git a/MANUAL.md b/MANUAL.md index 03a17bd..e3d4eac 100644 --- a/MANUAL.md +++ b/MANUAL.md @@ -76,7 +76,7 @@ Cotire looks at the properties of the target provided by CMake (e.g., target typ compile flags, preprocessor defines, include directories, ...) and modifies the target's build process in the following way: -1. cotire adds a custom build rule to produce a unity source file from target's sources. +1. cotire adds a custom build rule to produce a unity source file from the target's sources. 2. cotire adds a custom build rule to produce a prefix header file by tracking the header files included by the target's sources. 3. cotire adds a custom build rule to produce a precompiled header from the prefix header. @@ -260,7 +260,7 @@ If a unity build target should not be added by cotire, the target property set_target_properties(example PROPERTIES COTIRE_ADD_UNITY_BUILD FALSE) cotire(example) -Both properties default to TRUE. If both are set to FALSE, cotire will only set up custom build +Both properties default to `TRUE`. If both are set to `FALSE`, cotire will only set up custom build rules for the generation of the unity source and the prefix header. The properties `COTIRE_ENABLE_PRECOMPILED_HEADER` and `COTIRE_ADD_UNITY_BUILD` can also be set on diff --git a/README.md b/README.md index 6ab7b90..5c934ca 100644 --- a/README.md +++ b/README.md @@ -47,8 +47,8 @@ top-level `CMakeList.txt`: include(cotire) -To speed the build process of a CMake library or executable target, just apply the `cotire` function -to the target: +To speed the build process of a CMake library or executable target, just apply the `cotire` +function to the target: add_executable(MyExecutable ${MyExecutableSources}) target_link_libraries(MyExecutable ${MyExecutableLibraries}) @@ -76,8 +76,8 @@ the original target, but does so much faster by entering: $ make MyExecutable_unity -See the advanced usage section of the cotire manual for information on how to configure the cotire -process (e.g., how to apply cotire to a certain build configuration only). +See the advanced usage section of the [cotire manual](MANUAL.md) for information on how to +configure the cotire process (e.g., how to apply cotire to a certain build configuration only). speedup -------