2017-05-09 14:04:24 +00:00
|
|
|
cmake_minimum_required(VERSION 3.7)
|
|
|
|
project(fish)
|
|
|
|
|
|
|
|
set(CMAKE_C_STANDARD 99)
|
2017-05-13 20:40:41 +00:00
|
|
|
set(CMAKE_C_FLAGS "-Wall -Werror -pedantic -fpic -Wextra")
|
2017-05-09 14:04:24 +00:00
|
|
|
|
2017-05-15 12:08:10 +00:00
|
|
|
set(SOURCE_FILES main.c fish_shell/fish_core.c fish_shell/fish_core.h fish_shell/fish_commands.c fish_shell/fish_commands.h fish_shell/fish_types.h fish_shell/fish_utils.c fish_shell/fish_utils.h)
|
2017-05-09 14:04:24 +00:00
|
|
|
add_executable(fish ${SOURCE_FILES})
|