aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fc688f9..583d65c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,9 +1,12 @@
cmake_minimum_required(VERSION 2.8.11)
project(reloc C)
+set(VERSION "1.0.0")
set(CMAKE_C_STANDARD 99)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wall -Wextra")
+configure_file(version.h.in version.h)
+include_directories("${CMAKE_BINARY_DIR}")
add_executable(reloc main.c reloc.h)
install(TARGETS reloc
RUNTIME DESTINATION bin)