initial start

master
denes 6 years ago
parent 161e537af5
commit a44ac62617

@ -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)

@ -0,0 +1,17 @@
#include <iostream>
#include <cpp_utils/ArgParse.hpp>
int main(int argc, char* argv[])
{
ArgParse a("");
try {
a.parseArgs(argc, argv);
} catch(...) {
std::cerr << a.usage();
return EXIT_FAILURE;
}
return EXIT_SUCCESS;
}
Loading…
Cancel
Save