aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2017-06-14 23:28:30 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2017-06-14 23:28:44 +0200
commit7b0d7a19e5764aad6fde659e90b1484bde3a4551 (patch)
tree75bd574d16059da3e2c88efafe1214ee0e93b5a1
parent1dcd259d0506b9e2de3715bdf07144b22f57903a (diff)
downloadliberty-7b0d7a19e5764aad6fde659e90b1484bde3a4551.tar.gz
liberty-7b0d7a19e5764aad6fde659e90b1484bde3a4551.tar.xz
liberty-7b0d7a19e5764aad6fde659e90b1484bde3a4551.zip
Cleanup
-rw-r--r--CMakeLists.txt9
-rw-r--r--liberty-config.h.in0
2 files changed, 1 insertions, 8 deletions
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
--- a/liberty-config.h.in
+++ /dev/null