Mcpg / cmake-nasm-test

Building a nasm hello world app with cmake

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Building a nasm hello world app with cmake


Languages

Language:CMake 32.8%Language:Dockerfile 30.4%Language:Assembly 25.9%Language:Makefile 10.9%