Skip to content

fix #544#572

Open
pmackinlay wants to merge 2 commits intobkaradzic:masterfrom
pmackinlay:master
Open

fix #544#572
pmackinlay wants to merge 2 commits intobkaradzic:masterfrom
pmackinlay:master

Conversation

@pmackinlay
Copy link
Copy Markdown

Not sure about review/approval process, but this fix works for MAME.

pmackinlay added a commit to mamedev/mame that referenced this pull request Nov 20, 2024
cuavas pushed a commit to mamedev/mame that referenced this pull request Nov 26, 2024
…#13000)

* Updated to GENie 1181.
* Applied local fix for GENie resource include directory bug, sent upstream as bkaradzic/GENie#572.
* Set MSVC flags to use conformant preprocessor, standards conformance mode, and assume UTF-8 encoding.
@pmackinlay pmackinlay deleted the branch bkaradzic:master April 8, 2026 08:17
@pmackinlay pmackinlay closed this Apr 8, 2026
@pmackinlay pmackinlay deleted the master branch April 8, 2026 08:17
@pmackinlay pmackinlay restored the master branch April 8, 2026 08:45
@pmackinlay pmackinlay deleted the master branch April 8, 2026 08:49
@pmackinlay pmackinlay restored the master branch April 8, 2026 08:50
@pmackinlay pmackinlay reopened this Apr 8, 2026
pmackinlay added a commit to pmackinlay/mame that referenced this pull request Apr 8, 2026
* local fix for GENie resource include directory bug, sent upstream as bkaradzic/GENie#572
* local fix to disable broken command line escaping
* local fix to use MPARAM instead of hard-coded -m64
@bkaradzic
Copy link
Copy Markdown
Owner

Remove scripts.c from PR.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Visual Studio .vcxproj generator so the <ResourceCompile> item definition uses resource-specific include directories (resincludedirs) rather than the project’s general C/C++ include directories.

Changes:

  • Add a VS generator helper to emit ResourceCompile include directories from cfg.resincludedirs.
  • Switch <ResourceCompile> generation to use resincludedirs instead of the normal include dir list.
  • Mirror the same generator change in the embedded built-in scripts blob.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
src/actions/vstudio/vstudio_vcxproj.lua Introduces include_resdirs() and uses it for <ResourceCompile> include paths.
src/host/scripts.c Updates the embedded copy of the VS vcxproj generator script to match the Lua source change.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/actions/vstudio/vstudio_vcxproj.lua
Comment thread src/actions/vstudio/vstudio_vcxproj.lua
Comment thread src/host/scripts.c Outdated
Comment thread src/actions/vstudio/vstudio_vcxproj.lua
This reverts commit 96f0ed3.
pmackinlay added a commit to pmackinlay/mame that referenced this pull request Apr 9, 2026
* local fix for GENie resource include directory bug, sent upstream as bkaradzic/GENie#572
* local fix to disable broken command line escaping
* local fix to use MPARAM instead of hard-coded -m64
cuavas pushed a commit to mamedev/mame that referenced this pull request Apr 9, 2026
* Local fix for GENie resource include directory bug, sent upstream as bkaradzic/GENie#572
* Local fix to disable broken command line escaping
* Local fix to use MPARAM instead of hard-coded -m64
stonedDiscord pushed a commit to stonedDiscord/mame that referenced this pull request Apr 12, 2026
* Local fix for GENie resource include directory bug, sent upstream as bkaradzic/GENie#572
* Local fix to disable broken command line escaping
* Local fix to use MPARAM instead of hard-coded -m64
stonedDiscord pushed a commit to stonedDiscord/mame that referenced this pull request Apr 14, 2026
* Local fix for GENie resource include directory bug, sent upstream as bkaradzic/GENie#572
* Local fix to disable broken command line escaping
* Local fix to use MPARAM instead of hard-coded -m64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants