summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--CMakeLists.txt16
2 files changed, 9 insertions, 8 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..378eac2
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+build
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5250a02..6b7a1a6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 2.8)
project (click-finder)
-find_package (Git)
+#find_package (Git)
set (click_finder_VERSION_MAJOR 1)
set (click_finder_VERSION_MINOR 0)
configure_file (
@@ -9,10 +9,10 @@ configure_file (
)
include_directories("${PROJECT_BINARY_DIR}")
add_executable(click-finder click-finder.c)
-ADD_CUSTOM_TARGET(
- version
- ${CMAKE_COMMAND} -D SRC=${PROJECT_SOURCE_DIR}/version.h.in
- -D DST=${PROJECT_BINARY_DIR}/version.h
- -P ${PROJECT_SOURCE_DIR}/version.cmake
-)
-ADD_DEPENDENCIES(click-finder version)
+#ADD_CUSTOM_TARGET(
+# version
+# ${CMAKE_COMMAND} -D SRC=${PROJECT_SOURCE_DIR}/version.h.in
+# -D DST=${PROJECT_BINARY_DIR}/version.h
+# -P ${PROJECT_SOURCE_DIR}/version.cmake
+#)
+#ADD_DEPENDENCIES(click-finder version)