Skip to content

Commit

Permalink
Add the cpp-optparse project to Externals.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sonicadvance1 authored and leoetlino committed Feb 16, 2017
1 parent d847986 commit 77c7fa8
Show file tree
Hide file tree
Showing 9 changed files with 969 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,8 @@ include_directories(Externals/Bochs_disasm)

add_subdirectory(Externals/glslang)

add_subdirectory(Externals/cpp-optparse)

if(USE_SHARED_ENET)
check_lib(ENET libenet enet enet/enet.h QUIET)
include(CheckSymbolExists)
Expand Down
6 changes: 6 additions & 0 deletions Externals/cpp-optparse/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
check_and_add_flag(CXX11 -std=c++11)

set(SRCS OptionParser.cpp OptionParser.h)

add_library(cpp-optparse STATIC ${SRCS})
target_include_directories(cpp-optparse PUBLIC .)
Loading

0 comments on commit 77c7fa8

Please sign in to comment.