|
22 | 22 | Project::Project(const Config &config,const Options &options) |
23 | 23 | : _config(config), |
24 | 24 | _options(options) |
25 | | -{ |
| 25 | +{ |
26 | 26 | } |
27 | 27 |
|
28 | 28 | const wstring Project::characterSet() const |
@@ -287,7 +287,7 @@ void Project::loadFiles(const wstring directory,set<wstring> &excludes,multiset< |
287 | 287 | loadFiles(name,excludes,foundExcludes); |
288 | 288 | continue; |
289 | 289 | } |
290 | | - |
| 290 | + |
291 | 291 | static const set<wstring> |
292 | 292 | validExtensions = { L".asm", L".c", L".cc", L".cpp", L".h" }; |
293 | 293 |
|
@@ -477,7 +477,7 @@ void Project::writeFiles(wofstream &file) const |
477 | 477 | if (_config.useNasm()) |
478 | 478 | { |
479 | 479 | file << " <CustomBuild Include=\"$(SolutionDir)" << _config.directory() << fileName << "\">" << endl; |
480 | | - file << " <Command>$(SolutionDir)Configure\\nasm.exe" << nasmOptions() << "</Command>" << endl; |
| 480 | + file << " <Command>$(SolutionDir)Configure\\Tools\\nasm.exe" << nasmOptions() << "</Command>" << endl; |
481 | 481 | if (fileNameCount[objectName]++ == 0) |
482 | 482 | file << " <Outputs>$(IntDir)%(Filename).obj;%(Outputs)</Outputs>" << endl; |
483 | 483 | else |
@@ -528,7 +528,7 @@ void Project::writeFilters() const |
528 | 528 | wofstream file(filterFileName); |
529 | 529 | if (!file) |
530 | 530 | throwException(L"Failed to open file: " + filterFileName); |
531 | | - |
| 531 | + |
532 | 532 | set<wstring> directories; |
533 | 533 | file << "<?xml version=\"1.0\" encoding=\"utf-8\"?>" << endl; |
534 | 534 | file << "<Project ToolsVersion=\"4.0\" xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">" << endl; |
@@ -563,7 +563,7 @@ void Project::writeFilters() const |
563 | 563 | else |
564 | 564 | tag = L"MASM"; |
565 | 565 | } |
566 | | - |
| 566 | + |
567 | 567 | file << " <" << tag << " Include=\"$(SolutionDir)" << _config.directory() << fileName << "\">" << endl; |
568 | 568 | file << " <Filter>" << directory << "</Filter>" << endl; |
569 | 569 | file << " </" << tag << ">" << endl; |
|
0 commit comments