@@ -17,13 +17,13 @@ int main(int argc, char** argv)
1717 FileExtensions: [.cpp, .cc, .cxx]
1818 Languages: ["c++"]
1919 Setup:
20- Default : ["setup command 1", "setup command 2"]
20+ DefaultPlatform : ["setup command 1", "setup command 2"]
2121 Cleanup:
22- Default : []
22+ DefaultPlatform : []
2323 FilesTypes:
2424 ObjectLinkFile:
2525 Prefix:
26- Default : ""
26+ DefaultPlatform : ""
2727 Extension:
2828 Windows: ".obj"
2929 Unix: ".o"
@@ -54,12 +54,12 @@ int main(int argc, char** argv)
5454 Unix: ".a"
5555 Compiler:
5656 PreRun:
57- Default : ""
57+ DefaultPlatform : ""
5858 CheckExistence:
59- Default : "g++ -v"
59+ DefaultPlatform : "g++ -v"
6060 CompileTypes:
6161 Executable:
62- Default :
62+ DefaultPlatform :
6363 Flags: "-std=c++17 -Wall -g"
6464 Executable: "g++"
6565 RunParts:
@@ -70,24 +70,24 @@ int main(int argc, char** argv)
7070 - Type: Once
7171 CommandPart: " \"{InputFilePath}\" -o \"{OutputFilePath}\""
7272 Static:
73- Default :
73+ DefaultPlatform :
7474 Flags: "-std=c++17 -Wall -g"
7575 Executable: "g++"
7676 RunParts:
7777 - Type: Once
7878 CommandPart: "{Executable} -c {CompileFlags}"
7979 Shared:
80- Default :
80+ DefaultPlatform :
8181 Flags: "-std=c++17 -Wall -g -fpic"
8282 Executable: "g++"
8383 RunParts:
8484 - Type: Once
8585 CommandPart: "{Executable} -c {CompileFlags}"
8686 Linker:
8787 PreRun:
88- Default : ""
88+ DefaultPlatform : ""
8989 CheckExistence:
90- Default : "g++ -v"
90+ DefaultPlatform : "g++ -v"
9191 LinkTypes:
9292 Executable:
9393 Unix:
@@ -103,7 +103,7 @@ int main(int argc, char** argv)
103103 - Type: Once
104104 CommandPart: "{Executable} {LinkFlags} -o \"{OutputFilePath}\""
105105 Static:
106- Default :
106+ DefaultPlatform :
107107 Flags: ""
108108 Executable: "g++"
109109 RunParts:
@@ -154,12 +154,12 @@ int main(int argc, char** argv)
154154 ssTEST_OUTPUT_ASSERT (" Languages contains c++" , profile.Languages .count (" c++" ) == 1 );
155155
156156 // Verify Setup
157- ssTEST_OUTPUT_ASSERT (" Setup has Default platform" , profile.Setup .count (" Default " ) == 1 );
157+ ssTEST_OUTPUT_ASSERT (" Setup has Default platform" , profile.Setup .count (" DefaultPlatform " ) == 1 );
158158 ssTEST_OUTPUT_SETUP
159159 (
160- const std::vector<std::string>& setupCommands = profile.Setup .at (" Default " );
160+ const std::vector<std::string>& setupCommands = profile.Setup .at (" DefaultPlatform " );
161161 );
162- ssTEST_OUTPUT_ASSERT (" Setup Default has 2 commands" , setupCommands.size () == 2 );
162+ ssTEST_OUTPUT_ASSERT (" Setup DefaultPlatform has 2 commands" , setupCommands.size () == 2 );
163163 ssTEST_OUTPUT_ASSERT (" Setup command 1" , setupCommands.at (0 ) == " setup command 1" );
164164 ssTEST_OUTPUT_ASSERT (" Setup command 2" , setupCommands.at (1 ) == " setup command 2" );
165165
@@ -183,11 +183,11 @@ int main(int argc, char** argv)
183183 sharedLinkFile.Extension .at (" Linux" ) == " .so" );
184184
185185 // Verify Compiler
186- ssTEST_OUTPUT_ASSERT ( " Compiler CheckExistence Default " ,
187- profile.Compiler .CheckExistence .at (" Default " ) == " g++ -v" );
186+ ssTEST_OUTPUT_ASSERT ( " Compiler CheckExistence DefaultPlatform " ,
187+ profile.Compiler .CheckExistence .at (" DefaultPlatform " ) == " g++ -v" );
188188 ssTEST_OUTPUT_SETUP
189189 (
190- const auto & executableCompile = profile.Compiler .OutputTypes .Executable .at (" Default " );
190+ const auto & executableCompile = profile.Compiler .OutputTypes .Executable .at (" DefaultPlatform " );
191191 );
192192 ssTEST_OUTPUT_ASSERT ( " Compiler Executable flags" ,
193193 executableCompile.Flags == " -std=c++17 -Wall -g" );
@@ -197,8 +197,8 @@ int main(int argc, char** argv)
197197 executableCompile.RunParts .size () == 3 );
198198
199199 // Verify Linker
200- ssTEST_OUTPUT_ASSERT ( " Linker CheckExistence Default " ,
201- profile.Linker .CheckExistence .at (" Default " ) == " g++ -v" );
200+ ssTEST_OUTPUT_ASSERT ( " Linker CheckExistence DefaultPlatform " ,
201+ profile.Linker .CheckExistence .at (" DefaultPlatform " ) == " g++ -v" );
202202 ssTEST_OUTPUT_SETUP
203203 (
204204 const auto & executableLink = profile.Linker .OutputTypes .Executable .at (" Unix" );
0 commit comments