Skip to content

Building a nasm hello world app with cmake

andystanton/cmake-nasm-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMake NASM Test

This project builds a hello world console application in x86-64 assembly with NASM using CMake.

Requirements

  • NASM 3.00+
  • CMake 3.20+
  • Make and ld
  • macOS: Rosetta 2 (for Apple Silicon Macs)

Usage

This command will build the application on Linux and macOS (11.0+):

$ make run

Alternatively, this command will prepare an Alpine-based Docker container and execute the application in it:

$ make docker

About

Building a nasm hello world app with cmake

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published