NO

Author Topic: Batch build file creator  (Read 3327 times)

Offline Vortex

  • Member
  • *
  • Posts: 1000
    • http://www.vortex.masmcode.com
Batch build file creator
« on: October 20, 2024, 11:20:43 AM »
Hello,

Here is a simple batch build file creator for 32-bit projects.

Code: [Select]
Usage : MakeBat srcfile.asm [subsystem]
Subsystem is cons or gui

Let's assume that we would like to create a batch file to assemble Test.asm , a console application project :

Code: [Select]
MakeBat.exe Test.asm cons
Output Build.bat :

Code: [Select]
\PellesC\bin\poasm /AIA32 Test.asm
\PellesC\bin\polink /SUBSYSTEM:CONSOLE Test.obj

« Last Edit: October 20, 2024, 11:22:14 AM by Vortex »
Code it... That's all...

Offline Vortex

  • Member
  • *
  • Posts: 1000
    • http://www.vortex.masmcode.com
Re: Batch build file creator
« Reply #1 on: February 03, 2025, 07:42:50 PM »
New version offering a switch to specify the architecture, 32-bit or 64-bit :

Code: [Select]
MakeBat tool creating batch build file
Version 1.1

Usage : MakeBat srcfile.asm [subsystem] [architecture 32 or 64]
Subsystem is cons or gui
Code it... That's all...

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2237
Re: Batch build file creator
« Reply #2 on: February 03, 2025, 09:26:35 PM »
Just make an Add_in for it  ;)

An assembler examples for Assembly language - Assembly discussions section, good to read even don't care about cmd-files  ;)
« Last Edit: February 04, 2025, 03:03:20 PM by TimoVJL »
May the source be with you

HellOfMice

  • Guest
Re: Batch build file creator
« Reply #3 on: February 07, 2025, 09:08:26 AM »
Thank Vortex, I use they certainly are better than mines :)