1
0
mirror of https://github.com/lefticus/6502-cpp.git synced 2024-11-01 05:05:23 +00:00
6502-cpp/CMakeLists.txt
Jason Turner 5591249f2a Almost working programs with AVR conversion
* need to add a decent header address
 * probably need to fix sbrc and sbrs
2021-04-22 15:52:35 -06:00

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 ()