mirror of
https://github.com/lefticus/6502-cpp.git
synced 2024-11-01 05:05:23 +00:00
5591249f2a
* need to add a decent header address * probably need to fix sbrc and sbrs
12 lines
380 B
CMake
12 lines
380 B
CMake
cmake_minimum_required(VERSION 3.5)
|
|
|
|
project(x86-to-6502)
|
|
|
|
add_executable(x86-to-6502 src/main.cpp)
|
|
|
|
target_compile_features(x86-to-6502 PRIVATE cxx_std_20)
|
|
|
|
if (CMAKE_COMPILER_IS_GNUCC)
|
|
target_compile_options(x86-to-6502 PRIVATE -Wall -Wextra -Wconversion -Wshadow -Wnon-virtual-dtor -Wold-style-cast -Wcast-align -Wcast-qual -Wunused -Woverloaded-virtual -Wpedantic)
|
|
endif ()
|