debris
10 years ago
3 changed files with 30 additions and 1 deletions
@ -0,0 +1,12 @@ |
|||||
|
if(APPLE) |
||||
|
|
||||
|
elseif(WIN32) |
||||
|
ExternalProject_Add(argtable2 |
||||
|
URL http://sourceforge.net/projects/argtable/files/argtable/argtable-2.13/argtable2-13.tar.gz |
||||
|
BINARY_DIR argtable2-prefix/src/argtable2 |
||||
|
CONFIGURE_COMMAND cmake . |
||||
|
BUILD_COMMAND devenv argtable2.sln /build release |
||||
|
INSTALL_COMMAND cmd /c cp src/Release/argtable2.lib ${ETH_DEPENDENCY_INSTALL_DIR}/lib && cp src/argtable2.h ${ETH_DEPENDENCY_INSTALL_DIR}/include |
||||
|
) |
||||
|
else() |
||||
|
endif() |
@ -0,0 +1,15 @@ |
|||||
|
if(APPLE) |
||||
|
|
||||
|
elseif(WIN32) |
||||
|
|
||||
|
file(MAKE_DIRECTORY ${ETH_DEPENDENCY_INSTALL_DIR}/include/jsoncpp) |
||||
|
ExternalProject_Add(jsoncpp |
||||
|
GIT_REPOSITORY https://github.com/open-source-parsers/jsoncpp |
||||
|
GIT_TAG svn-import |
||||
|
BINARY_DIR jsoncpp-prefix/src/jsoncpp |
||||
|
CONFIGURE_COMMAND cmake . |
||||
|
BUILD_COMMAND devenv jsoncpp.sln /build release |
||||
|
INSTALL_COMMAND cmd /c cp lib/Release/jsoncpp.lib ${ETH_DEPENDENCY_INSTALL_DIR}/lib && cp -R include/json ${ETH_DEPENDENCY_INSTALL_DIR}/include/jsoncpp |
||||
|
) |
||||
|
else() |
||||
|
endif() |
Loading…
Reference in new issue