Help: fixed typos in PCH / Unity Build doc

+ typos in source code
This commit is contained in:
Corentin Plouet
2019-10-01 05:21:55 +10:00
parent 6fa2baef61
commit ab06de68c5
4 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
PRECOMPILE_HEADERS_REUSE_FROM
-----------------------------
Target from which to reuse the precomipled headers build artifact.
Target from which to reuse the precompiled headers build artifact.
See the second signature of :command:`target_precompile_headers` command
for more detailed information.

View File

@@ -31,7 +31,7 @@ ODR (One definition rule) errors
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Since multiple source files are included into one source file,
it can lead to ODR errors. This section contains properites
it can lead to ODR errors. This section contains properties
which help fixing these errors.
The source files marked by :prop_sf:`GENERATED` will be skipped

View File

@@ -8,6 +8,6 @@ If the property is not set, CMake will use the value provided
by :variable:`CMAKE_UNITY_BUILD_BATCH_SIZE`.
By setting it to value `0` the generated unity source file will
contain all the source files that would be otherwise be split
contain all the source files that would otherwise be split
into multiple batches. It is not recommended to do so, since it
would affect performance.

View File

@@ -257,14 +257,14 @@ void QCMake::setProperties(const QCMakePropertyList& newProps)
}
}
// remove some properites
// remove some properties
foreach (QString const& s, toremove) {
this->CMakeInstance->UnwatchUnusedCli(s.toLocal8Bit().data());
state->RemoveCacheEntry(s.toLocal8Bit().data());
}
// add some new properites
// add some new properties
foreach (QCMakeProperty const& s, props) {
this->CMakeInstance->WatchUnusedCli(s.Key.toLocal8Bit().data());