diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-01-31 19:39:48 +0100 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-01-31 19:39:48 +0100 |
commit | 516bc854369243b2f1ba4f1c019aca06cbbd736e (patch) | |
tree | 82cbc27a8975af41b694090172421e8dd83c9d92 /libwardrobe | |
parent | 9312c14b47a2d6e58238902d1424ae8d45d73ac5 (diff) | |
download | pianobar-windows-516bc854369243b2f1ba4f1c019aca06cbbd736e.tar.gz pianobar-windows-516bc854369243b2f1ba4f1c019aca06cbbd736e.tar.bz2 pianobar-windows-516bc854369243b2f1ba4f1c019aca06cbbd736e.zip |
Whoops, forgot to add new files to last commit...
Diffstat (limited to 'libwardrobe')
-rw-r--r-- | libwardrobe/CMakeLists.txt | 6 | ||||
-rw-r--r-- | libwardrobe/src/CMakeLists.txt | 8 | ||||
-rw-r--r-- | libwardrobe/src/config.h.in | 1 |
3 files changed, 15 insertions, 0 deletions
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}" |