diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..1f421be --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,16 @@ +cmake_minimum_required (VERSION 2.6) +project (PROJECT_WEBFISH) + +set (CXX_FLAGS "-ggdb") +add_definitions(${CXX_FLAGS}) + +# set (CMAKE_CXX_COMPILER "/usr/bin/g++-5.1.0") +# set (CMAKE_CXX_COMPILER "/usr/bin/clang++-3.6.0") + +add_subdirectory (cpp_utils/lib/cpp_utils) + +include_directories(cpp_utils/lib/) + +add_executable (webfish main.cpp) + +target_link_libraries(CppUtils) diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..dc7156f --- /dev/null +++ b/main.cpp @@ -0,0 +1,17 @@ +#include + +#include + +int main(int argc, char* argv[]) +{ + ArgParse a(""); + try { + a.parseArgs(argc, argv); + } catch(...) { + std::cerr << a.usage(); + return EXIT_FAILURE; + } + + + return EXIT_SUCCESS; +}