diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-11-12 16:02:04 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-11-12 16:02:04 -0500 |
commit | 2653ac737f0df2a41d939e0c36f9b4ae502f5a48 (patch) | |
tree | 74a9e6169c6818a339a65b8ec4c1b03c05c56268 /CMakeLists.txt | |
parent | b98b5b7d61a5285363c8cec4817f680ad96a12df (diff) | |
download | reloc-2653ac737f0df2a41d939e0c36f9b4ae502f5a48.tar.gz |
Implement version1.0.0
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
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) |