Skip to content

Building a nasm hello world app with cmake

Notifications You must be signed in to change notification settings

andystanton/cmake-nasm-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 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
  • CMake, Make and ld

Usage

This command will build the application on Linux and MacOS (10.13+) with recent NASM (tested with 2.14):

$ make run

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

$ make docker