# # memmap/CMakeLists.txt -- # cmake_minimum_required(VERSION 2.6) project(MEMMAP C) add_executable(memmap memmap.c) SET(CMAKE_EXE_LINKER_FLAGS -static) if(CMAKE_COMPILER_IS_GNUCC) add_definitions(--std=c99 -Wall) endif()