Skip to content

Commit 9ad086a

Browse files
committed
Moved nasm.exe to Tools folder.
1 parent 3bb35aa commit 9ad086a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
- name: Create Configs archive
7070
shell: cmd
7171
run: |
72-
powershell -Command "Compress-Archive -Path 'ColorProfiles','Configs','Installer','OpenCL','PerlMagick','nasm.exe' -DestinationPath 'files.zip'"
72+
powershell -Command "Compress-Archive -Path 'ColorProfiles','Configs','Installer','OpenCL','PerlMagick','Tools' -DestinationPath 'files.zip'"
7373
7474
- name: Set release number
7575
shell: bash
File renamed without changes.

src/Project.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
Project::Project(const Config &config,const Options &options)
2323
: _config(config),
2424
_options(options)
25-
{
25+
{
2626
}
2727

2828
const wstring Project::characterSet() const
@@ -287,7 +287,7 @@ void Project::loadFiles(const wstring directory,set<wstring> &excludes,multiset<
287287
loadFiles(name,excludes,foundExcludes);
288288
continue;
289289
}
290-
290+
291291
static const set<wstring>
292292
validExtensions = { L".asm", L".c", L".cc", L".cpp", L".h" };
293293

@@ -477,7 +477,7 @@ void Project::writeFiles(wofstream &file) const
477477
if (_config.useNasm())
478478
{
479479
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;
481481
if (fileNameCount[objectName]++ == 0)
482482
file << " <Outputs>$(IntDir)%(Filename).obj;%(Outputs)</Outputs>" << endl;
483483
else
@@ -528,7 +528,7 @@ void Project::writeFilters() const
528528
wofstream file(filterFileName);
529529
if (!file)
530530
throwException(L"Failed to open file: " + filterFileName);
531-
531+
532532
set<wstring> directories;
533533
file << "<?xml version=\"1.0\" encoding=\"utf-8\"?>" << endl;
534534
file << "<Project ToolsVersion=\"4.0\" xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">" << endl;
@@ -563,7 +563,7 @@ void Project::writeFilters() const
563563
else
564564
tag = L"MASM";
565565
}
566-
566+
567567
file << " <" << tag << " Include=\"$(SolutionDir)" << _config.directory() << fileName << "\">" << endl;
568568
file << " <Filter>" << directory << "</Filter>" << endl;
569569
file << " </" << tag << ">" << endl;

0 commit comments

Comments
 (0)