feat(EditorConfig): Add .editorconfig files
This commit is contained in:
parent
1f8dce3a86
commit
96477dfba3
12 changed files with 400 additions and 0 deletions
01/include
16
01/include/CMakeLists.txt
Normal file
16
01/include/CMakeLists.txt
Normal file
|
@ -0,0 +1,16 @@
|
|||
|
||||
# Make an explicit list of all source files in IFJ23_INC. This is important
|
||||
# because CMake is not a build system: it is a build system generator. Suppose
|
||||
# you add a file foo.cpp to src/ after running cmake .. . If you set
|
||||
# IFJ23_INC with `file(GLOB ... )`, this is not passed to the makefile; it
|
||||
# doesn't know that foo.cpp exists and will not re-run cmake. Your
|
||||
# collaborator's builds will fail and it will be unclear why. Whether you use
|
||||
# file(GLOB ...) or not, you will need to re-run cmake, but with an explicit
|
||||
# file list, you know beforehand why your code isn't compiling.
|
||||
set(INC
|
||||
)
|
||||
|
||||
# Form the full path to the source files...
|
||||
PREPEND(INC)
|
||||
# ... and pass the variable to the parent scope.
|
||||
set(INC ${INC} PARENT_SCOPE)
|
Loading…
Add table
Add a link
Reference in a new issue