Merge branch 'patch-1' into 'master'
Fixed a missing parenthesis typo. See merge request CLIUtils/modern-cmake!43
This commit is contained in:
commit
1171eafc96
@ -2,7 +2,7 @@
|
||||
|
||||
## Configure File
|
||||
|
||||
CMake allows you to access CMake variables from your code using `configure_file`. This command copies a file (traditionally ending in `.in` from one place to another, substituting all CMake variables it finds. If you want to avoid replacing existing `${}` syntax in your input file, use the `@ONLY` keyword. There's also a `COPY_ONLY` keyword if you are just using this as a replacement for `file(COPY`.
|
||||
CMake allows you to access CMake variables from your code using `configure_file`. This command copies a file (traditionally ending in `.in`) from one place to another, substituting all CMake variables it finds. If you want to avoid replacing existing `${}` syntax in your input file, use the `@ONLY` keyword. There's also a `COPY_ONLY` keyword if you are just using this as a replacement for `file(COPY`.
|
||||
|
||||
This functionality is used quite frequently; for example, on `Version.h.in`:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user