jviskari / cc65_cmake

Hello World for CC65/CMAKE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cc65_cmake

Hello World for CC65/CMAKE

The flags are set by default for Commodore 64. All preferred CC65 flags can be set with target_compile_options() command. This can be done on module basis.

Required software:

This should work in WSL or Linux.

CC65 compiler suite: sudo apt install -y cc65 CMake: sudo apt install -y cmake

Ninja-build or GNU Make based build environment (personal preference): sudo apt install -y ninja-build or/and sudo apt install -y build-essential

run get_tools.sh to get this done automatically.

See build.sh how to use cmake.

Hint: This works also straight of the box with Visual Studio Code and CMake plugin

About

Hello World for CC65/CMAKE

License:Apache License 2.0


Languages

Language:CMake 80.8%Language:Shell 9.0%Language:C 8.6%Language:Assembly 1.7%