From 516bc854369243b2f1ba4f1c019aca06cbbd736e Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sat, 31 Jan 2009 19:39:48 +0100 Subject: Whoops, forgot to add new files to last commit... --- libwardrobe/CMakeLists.txt | 6 ++++++ libwardrobe/src/CMakeLists.txt | 8 ++++++++ libwardrobe/src/config.h.in | 1 + 3 files changed, 15 insertions(+) create mode 100644 libwardrobe/CMakeLists.txt create mode 100644 libwardrobe/src/CMakeLists.txt create mode 100644 libwardrobe/src/config.h.in (limited to 'libwardrobe') diff --git a/libwardrobe/CMakeLists.txt b/libwardrobe/CMakeLists.txt new file mode 100644 index 0000000..18217bb --- /dev/null +++ b/libwardrobe/CMakeLists.txt @@ -0,0 +1,6 @@ +cmake_minimum_required (VERSION 2.4) + +set (PACKAGE "libwardrobe") +project (${PACKAGE}) + +add_subdirectory (src) diff --git a/libwardrobe/src/CMakeLists.txt b/libwardrobe/src/CMakeLists.txt new file mode 100644 index 0000000..960f4ca --- /dev/null +++ b/libwardrobe/src/CMakeLists.txt @@ -0,0 +1,8 @@ +find_package (CURL REQUIRED) + +configure_file (${CMAKE_CURRENT_SOURCE_DIR}/config.h.in + ${CMAKE_CURRENT_BINARY_DIR}/config.h) + +include_directories (${CURL_INCLUDE_DIR}) + +add_library (wardrobe STATIC main.c md5.c) diff --git a/libwardrobe/src/config.h.in b/libwardrobe/src/config.h.in new file mode 100644 index 0000000..60600a7 --- /dev/null +++ b/libwardrobe/src/config.h.in @@ -0,0 +1 @@ +#define PACKAGE "${PACKAGE}" -- cgit v1.2.3