mirror of
https://gitlab.com/klmp200/fish.git
synced 2024-11-22 00:33:20 +00:00
10 lines
425 B
CMake
10 lines
425 B
CMake
cmake_minimum_required(VERSION 3.7)
|
|
project(fish)
|
|
|
|
set(CMAKE_C_STANDARD 99)
|
|
set(CMAKE_C_FLAGS "-Wall -Werror -pedantic -fpic -Wextra")
|
|
|
|
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 fish_shell/fish_globbing.c fish_shell/fish_globbing.h)
|
|
add_executable(fish ${SOURCE_FILES})
|
|
|