From 7b0d7a19e5764aad6fde659e90b1484bde3a4551 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Wed, 14 Jun 2017 23:28:30 +0200
Subject: Cleanup
---
CMakeLists.txt | 9 +--------
liberty-config.h.in | 0
2 files changed, 1 insertion(+), 8 deletions(-)
delete mode 100644 liberty-config.h.in
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4635d28..2daf01c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -34,15 +34,8 @@ foreach (extra iconv rt)
endif (extra_lib_${extra})
endforeach (extra)
-# Generate a configuration file
-# TODO: actualy use the configuration file for something; so far we allow
-# for direct inclusion without running this CMakeLists.txt
-configure_file (${PROJECT_SOURCE_DIR}/liberty-config.h.in
- ${PROJECT_BINARY_DIR}/liberty-config.h)
-include_directories (${PROJECT_SOURCE_DIR} ${PROJECT_BINARY_DIR})
-set (common_sources ${PROJECT_BINARY_DIR}/liberty-config.h)
-
# Build some unit tests
+include_directories (${PROJECT_SOURCE_DIR})
enable_testing ()
foreach (name liberty proto)
add_executable (test-${name} tests/${name}.c ${common_sources})
diff --git a/liberty-config.h.in b/liberty-config.h.in
deleted file mode 100644
index e69de29..0000000
--
cgit v1.2.3-70-g09d2