cmake_minimum_required(VERSION 3.12) project( misplays VERSION 0.0.1 LANGUAGES C ) set_property(GLOBAL PROPERTY C_STANDARD 99) add_compile_options(-W -Wall -Wextra -Wpedantic -g) add_compile_definitions( MISPLAYS_VERSION=${PROJECT_VERSION} _GNU_SOURCE ) add_executable(${PROJECT_NAME} architecture.c console.c debugger.c helpers.c list.c misplays.c ) target_link_libraries(${PROJECT_NAME} capstone ncurses panel ) install(TARGETS ${PROJECT_NAME})