From ba893cc4d0d691baa2460f9e43d23932fbdb680d Mon Sep 17 00:00:00 2001 From: Igor Kostenko Date: Thu, 31 May 2018 16:45:32 +0100 Subject: [PATCH] cmake support --- CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..7dfdd06 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,7 @@ +cmake_minimum_required(VERSION 3.11) +project(timemem C) + +set(CMAKE_C_STANDARD 11) +string(REPLACE "/MD" "/MT" CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}") +add_executable(timemem + TimeMem.c)