Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support masm32 sdk #3233

Closed
waruqi opened this issue Jan 1, 2023 · 1 comment
Closed

Support masm32 sdk #3233

waruqi opened this issue Jan 1, 2023 · 1 comment

Comments

@waruqi
Copy link
Member

waruqi commented Jan 1, 2023

Is your feature request related to a problem? Please describe.

https://www.masm32.com/download.htm

Describe the solution you'd like

xmake f --toolchain=masm32
xmake

Describe alternatives you've considered

No response

Additional context

No response

@waruqi waruqi added this to the v2.7.5 milestone Jan 1, 2023
@waruqi
Copy link
Member Author

waruqi commented Jan 4, 2023

we can use masm32 sdk to write win32 asm program.

Example

https://github.com/xmake-io/xmake/blob/dev/tests/projects/asm/masm32/xmake.lua

ruki-2:masm32 ruki$ tree
.
├── src
│   ├── generic.asm
│   ├── mainicon.ico
│   └── rsrc.rc
└── xmake.lua
add_rules("mode.debug", "mode.release")

set_allowedplats("windows")
set_defaultarchs("x86")

target("test")
    set_kind("binary")
    add_files("src/*.asm")
    add_files("src/*.rc")
    set_toolchains("masm32")

image

@waruqi waruqi closed this as completed Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant