@@ -565,7 +565,8 @@ bool Chapter2_BuildConfig()
565565
566566 DELAYED_OUTPUT (" " );
567567 DELAYED_OUTPUT (" A common build config is to specify other source files." );
568- DELAYED_OUTPUT (" This can be done by adding the paths to the `OtherFilesToBeCompiled` field." );
568+ DELAYED_OUTPUT (" This can be done by adding the paths to the `SourceFiles` field." );
569+ DELAYED_OUTPUT (" The script file is implicitly added to this field so you don't need to specify it." );
569570 DELAYED_OUTPUT (" Let me add a second C++ file (\" tutorial/Hello.cpp\" )." );
570571 DELAYED_OUTPUT (" Press enter to continue..." );
571572 GetInput (true );
@@ -678,7 +679,7 @@ void CallHello();
678679
679680 {
680681 const std::string yamlContent = R"( Defines: ["WORLD=42"]
681- OtherFilesToBeCompiled : ["./Hello.cpp"]
682+ SourceFiles : ["./Hello.cpp"]
682683IncludePaths: ["./"]
683684)" ;
684685 WriteFile (" tutorial/main.yaml" , yamlContent);
@@ -700,7 +701,7 @@ IncludePaths: ["./"]
700701
701702 {
702703 const std::string yamlContent = R"( Defines: ["WORLD=42"]
703- OtherFilesToBeCompiled : ["./Hello.cpp"]
704+ SourceFiles : ["./Hello.cpp"]
704705IncludePaths: ["./"]
705706
706707OverrideCompileFlags:
@@ -735,7 +736,7 @@ IncludePaths: ["./"]
735736
736737 {
737738 const std::string yamlContent = R"( Defines: ["WORLD=42"]
738- OtherFilesToBeCompiled : ["./Hello.cpp"]
739+ SourceFiles : ["./Hello.cpp"]
739740IncludePaths: ["./"]
740741)" ;
741742 WriteFile (" tutorial/main.yaml" , yamlContent);
0 commit comments