Skip to content

Commit 5d9e2b3

Browse files
committed
[BW]: [Ign] Added batches to simplify work on windows platform.
1 parent 8eeea17 commit 5d9e2b3

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ ENDIF(WIN32)
6868
include_directories( ${OPENSSL_INCLUDE_DIR} )
6969
include_directories( ${Boost_INCLUDE_DIR} )
7070
SET( ALL_OPENSSL_LIBRARIES ${OPENSSL_LIBRARIES})
71-
# ${SSL_EAY_RELEASE} ${LIB_EAY_RELEASE})
7271

7372
add_subdirectory(bitshares)
7473
add_subdirectory(miner)

run_cmake.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
call setenv.bat
2+
cd %INVICTUS_ROOT%
3+
cmake-gui -G "Visual Studio 11"

setenv.bat

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
@echo off
2+
set INVICTUS_ROOT=%~dp0..\
3+
echo Using %INVICTUS_ROOT% as Invictus root directory
4+
5+
set QTDIR=%INVICTUS_ROOT%\QT
6+
set OPENSSL_ROOT=%INVICTUS_ROOT%\OpenSSL
7+
set OPENSSL_ROOT_DIR=%OPENSSL_ROOT%
8+
set OPENSSL_INCLUDE_DIR=%OPENSSL_ROOT%\include
9+
set ICU_ROOT=%INVICTUS_ROOT%\ICU
10+
11+
set PATH=%QTDIR%\bin;%ICU_ROOT%\bin;%INVICTUS_ROOT%\bin;%INVICTUS_ROOT%\Cmake\bin;%PATH%
12+
13+
echo Setting up VS2012 environment...
14+
call "%VS110COMNTOOLS%\..\..\VC\vcvarsall.bat"
15+

0 commit comments

Comments
 (0)