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

Multi-modular compiling preprocessor issue #8

Open
trapazza opened this issue Jan 26, 2018 · 1 comment
Open

Multi-modular compiling preprocessor issue #8

trapazza opened this issue Jan 26, 2018 · 1 comment

Comments

@trapazza
Copy link

trapazza commented Jan 26, 2018

Hi, I'm new to VisualMASM and I'm having problems while trying to compile a multi-modular project.

I have an .inc file which contains an include guard like this:

ifndef __FILE_GUARD__INC
__FILE_GUARD__INC equ 1
.
.
.
endif

but it seems that the symbol is just defined for the source file currently being compiled.
I was wondering if VisualMASM is running an instance of ML for every .asm file instead of passing in all .asm files to a single instance of the compiler?

Thanks in advance.

@ThomasJaeger
Copy link
Owner

Visual MASM actually creates a temporary list file (@) and passes that into ML. After the assembly and build process is completed, it removes this temporary file. So, even if you have hundreds of assembly files, it is one process.

If you need to add additional files to the assembly / build process, you can add these in the project options of your project.

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

No branches or pull requests

2 participants