2021-07-12 02:54:24 +00:00
|
|
|
|
# CMakeList.txt : CMake project for GameboyEmu, include source and define
|
|
|
|
|
# project specific logic here.
|
|
|
|
|
#
|
|
|
|
|
cmake_minimum_required (VERSION 3.8)
|
|
|
|
|
|
|
|
|
|
project ("GameboyEmu")
|
|
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
|
|
|
|
|
|
add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
|
|
|
|
|
|
2021-10-28 16:56:08 +00:00
|
|
|
|
add_subdirectory("vendor/SDL")
|
2021-07-12 02:54:24 +00:00
|
|
|
|
|
2021-10-28 22:13:44 +00:00
|
|
|
|
# some IDEs / text editors require compile_commands.json
|
|
|
|
|
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
|
|
|
|
|
2021-07-12 02:54:24 +00:00
|
|
|
|
# Add source to this project's executable.
|
2021-10-28 16:56:08 +00:00
|
|
|
|
add_subdirectory("src")
|
2021-07-12 02:54:24 +00:00
|
|
|
|
|
|
|
|
|
# TODO: Add tests and install targets if needed.
|