# # msh2/CMakeLists.txt -- # cmake_minimum_required(VERSION 2.6) project(MSH2 C) add_executable(msh msh.c interp.c cmds.c job.c slist.c util.c) target_link_libraries(msh -lreadline) if(CMAKE_COMPILER_IS_GNUCC) add_definitions(--std=c99 -Wall) endif()