mirror of
https://github.com/ttroy50/cmake-examples.git
synced 2025-12-19 04:34:36 +03:00
@@ -86,7 +86,7 @@ file(GLOB SOURCES "src/*.cpp")
|
|||||||
|
|
||||||
[TIP]
|
[TIP]
|
||||||
====
|
====
|
||||||
For modern CMake it is NOT recommended to use a variable for sources. Insead it is
|
For modern CMake it is NOT recommended to use a variable for sources. Instead it is
|
||||||
typical to directly declare the sources in the add_xxx function.
|
typical to directly declare the sources in the add_xxx function.
|
||||||
|
|
||||||
This is particularly important for glob commands which may not always show you the
|
This is particularly important for glob commands which may not always show you the
|
||||||
|
|||||||
Reference in New Issue
Block a user