@@ -18,13 +18,13 @@ int main(int argc, char** argv)
1818 FileExtensions: [.cpp, .cc, .cxx]
1919 Languages: ["c++"]
2020 Setup:
21- Default : ["setup command 1", "setup command 2"]
21+ DefaultPlatform : ["setup command 1", "setup command 2"]
2222 Cleanup:
23- Default : []
23+ DefaultPlatform : []
2424 FilesTypes:
2525 ObjectLinkFile:
2626 Prefix:
27- Default : ""
27+ DefaultPlatform : ""
2828 Extension:
2929 Windows: ".obj"
3030 Unix: ".o"
@@ -55,12 +55,12 @@ int main(int argc, char** argv)
5555 Unix: ".a"
5656 Compiler:
5757 PreRun:
58- Default : ""
58+ DefaultPlatform : ""
5959 CheckExistence:
60- Default : "g++ -v"
60+ DefaultPlatform : "g++ -v"
6161 CompileTypes:
6262 Executable:
63- Default :
63+ DefaultPlatform :
6464 Flags: "-std=c++17 -Wall -g"
6565 Executable: "g++"
6666 RunParts:
@@ -71,24 +71,24 @@ int main(int argc, char** argv)
7171 - Type: Once
7272 CommandPart: " \"{InputFilePath}\" -o \"{OutputFilePath}\""
7373 Static:
74- Default :
74+ DefaultPlatform :
7575 Flags: "-std=c++17 -Wall -g"
7676 Executable: "g++"
7777 RunParts:
7878 - Type: Once
7979 CommandPart: "{Executable} -c {CompileFlags}"
8080 Shared:
81- Default :
81+ DefaultPlatform :
8282 Flags: "-std=c++17 -Wall -g -fpic"
8383 Executable: "g++"
8484 RunParts:
8585 - Type: Once
8686 CommandPart: "{Executable} -c {CompileFlags}"
8787 Linker:
8888 PreRun:
89- Default : ""
89+ DefaultPlatform : ""
9090 CheckExistence:
91- Default : "g++ -v"
91+ DefaultPlatform : "g++ -v"
9292 LinkTypes:
9393 Executable:
9494 Unix:
@@ -104,7 +104,7 @@ int main(int argc, char** argv)
104104 - Type: Once
105105 CommandPart: "{Executable} {LinkFlags} -o \"{OutputFilePath}\""
106106 Static:
107- Default :
107+ DefaultPlatform :
108108 Flags: ""
109109 Executable: "g++"
110110 RunParts:
@@ -155,12 +155,12 @@ int main(int argc, char** argv)
155155 ssTEST_OUTPUT_ASSERT (" Languages contains c++" , profile.Languages .count (" c++" ) == 1 );
156156
157157 // Verify Setup
158- ssTEST_OUTPUT_ASSERT (" Setup has Default platform" , profile.Setup .count (" Default " ) == 1 );
158+ ssTEST_OUTPUT_ASSERT (" Setup has Default platform" , profile.Setup .count (" DefaultPlatform " ) == 1 );
159159 ssTEST_OUTPUT_SETUP
160160 (
161- const std::vector<std::string>& setupCommands = profile.Setup .at (" Default " );
161+ const std::vector<std::string>& setupCommands = profile.Setup .at (" DefaultPlatform " );
162162 );
163- ssTEST_OUTPUT_ASSERT (" Setup Default has 2 commands" , setupCommands.size () == 2 );
163+ ssTEST_OUTPUT_ASSERT (" Setup DefaultPlatform has 2 commands" , setupCommands.size () == 2 );
164164 ssTEST_OUTPUT_ASSERT (" Setup command 1" , setupCommands.at (0 ) == " setup command 1" );
165165 ssTEST_OUTPUT_ASSERT (" Setup command 2" , setupCommands.at (1 ) == " setup command 2" );
166166
@@ -184,11 +184,11 @@ int main(int argc, char** argv)
184184 sharedLinkFile.Extension .at (" Linux" ) == " .so" );
185185
186186 // Verify Compiler
187- ssTEST_OUTPUT_ASSERT ( " Compiler CheckExistence Default " ,
188- profile.Compiler .CheckExistence .at (" Default " ) == " g++ -v" );
187+ ssTEST_OUTPUT_ASSERT ( " Compiler CheckExistence DefaultPlatform " ,
188+ profile.Compiler .CheckExistence .at (" DefaultPlatform " ) == " g++ -v" );
189189 ssTEST_OUTPUT_SETUP
190190 (
191- const auto & executableCompile = profile.Compiler .OutputTypes .Executable .at (" Default " );
191+ const auto & executableCompile = profile.Compiler .OutputTypes .Executable .at (" DefaultPlatform " );
192192 );
193193 ssTEST_OUTPUT_ASSERT ( " Compiler Executable flags" ,
194194 executableCompile.Flags == " -std=c++17 -Wall -g" );
@@ -198,8 +198,8 @@ int main(int argc, char** argv)
198198 executableCompile.RunParts .size () == 3 );
199199
200200 // Verify Linker
201- ssTEST_OUTPUT_ASSERT ( " Linker CheckExistence Default " ,
202- profile.Linker .CheckExistence .at (" Default " ) == " g++ -v" );
201+ ssTEST_OUTPUT_ASSERT ( " Linker CheckExistence DefaultPlatform " ,
202+ profile.Linker .CheckExistence .at (" DefaultPlatform " ) == " g++ -v" );
203203 ssTEST_OUTPUT_SETUP
204204 (
205205 const auto & executableLink = profile.Linker .OutputTypes .Executable .at (" Unix" );
0 commit comments