Skip to content

Commit f7126b0

Browse files
authored
Update basics.md
1 parent b670271 commit f7126b0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

docs/basics.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ add_library(StringUtils STATIC
102102
"StringUtils/src/stringutils.cpp"
103103
)
104104
105-
target_sources(StringUtils PRIVATE ${StringUtils_SOURCES})
106-
107105
target_include_directories(StringUtils PUBLIC
108106
"StringUtils/include"
109107
)
@@ -113,8 +111,6 @@ add_executable(DataProcessor
113111
"DataProcessor/src/main.cpp"
114112
)
115113
116-
target_sources(DataProcessor PRIVATE ${DataProcessor_SOURCES})
117-
118114
target_link_libraries(DataProcessor PRIVATE
119115
StringUtils
120116
)
@@ -137,7 +133,7 @@ cmake -B build -DCMAKE_BUILD_TYPE=Release
137133
cmake --build build --config Release
138134
```
139135

140-
We specify both `CMAKE_BUILD_TYPE` and `--config` to be compatible with generators (like Visual Studio/Xcode) that allow multiple configurations at once.
136+
We specify both `CMAKE_BUILD_TYPE` and `--config` to be compatible with generators that support multiple configurations at once ((like Visual Studio/Xcode/Ninja Multi-Config).
141137
{:.info}
142138

143139
**Build Types**:

0 commit comments

Comments
 (0)