diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2011-12-01 22:56:23 +0000 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2011-12-01 22:56:23 +0000 |
commit | 429e46051dba814e7d6c74368eb1bba550222cbe (patch) | |
tree | ed1dd43cd23c69f156aae2165006a16a66262cef /contrib/cmake/src | |
parent | 58bf1382be0cbcf3f9649286fd2719b789a1595f (diff) | |
download | libconfig-429e46051dba814e7d6c74368eb1bba550222cbe.tar.gz |
Imported Upstream version 1.4.8upstream/1.4.8
Diffstat (limited to '')
-rw-r--r-- | contrib/cmake/src/CMakeLists.txt | 6 | ||||
-rw-r--r-- | contrib/cmake/src/main.cpp | 13 |
2 files changed, 19 insertions, 0 deletions
diff --git a/contrib/cmake/src/CMakeLists.txt b/contrib/cmake/src/CMakeLists.txt new file mode 100644 index 0000000..b10b7da --- /dev/null +++ b/contrib/cmake/src/CMakeLists.txt @@ -0,0 +1,6 @@ +PROJECT(libconfig_test_app) + +ADD_EXECUTABLE(libconfig_test_app main.cpp) + +target_link_libraries(libconfig_test_app config++) + diff --git a/contrib/cmake/src/main.cpp b/contrib/cmake/src/main.cpp new file mode 100644 index 0000000..a563249 --- /dev/null +++ b/contrib/cmake/src/main.cpp @@ -0,0 +1,13 @@ +#include <iostream> +#include <fstream> +#include <libconfig.h++> + +using namespace std; +using namespace libconfig; + +int main ( int argc, char **argv ) +{ + Config cfg; + + return (0); +}
\ No newline at end of file |