File tree Expand file tree Collapse file tree 2 files changed +49
-1
lines changed
Expand file tree Collapse file tree 2 files changed +49
-1
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,11 @@ if (NOT MSVC)
2525 set (CMAKE_RC_COMPILE_OBJECT "${CMAKE_RC_COMPILER} -O coff -I${CMAKE_CURRENT_SOURCE_DIR} <SOURCE> <OBJECT>" )
2626endif ()
2727
28- add_definitions ("-Wall" )
28+ if (NOT MSVC )
29+ add_definitions ("-Wall" )
30+ else ()
31+ add_definitions ("-W4" )
32+ endif ()
2933
3034option (UNICODE "Compile with UNICODE support" OFF )
3135if (UNICODE)
Original file line number Diff line number Diff line change 1+ version : #{build}
2+
3+ os :
4+ - Windows Server 2012 R2
5+
6+ environment :
7+ matrix :
8+ - GENERATOR : " Visual Studio 10 2010"
9+ UNICODE : ON
10+ - GENERATOR : " Visual Studio 10 2010"
11+ UNICODE : OFF
12+ - GENERATOR : " Visual Studio 11 2012"
13+ UNICODE : ON
14+ - GENERATOR : " Visual Studio 11 2012"
15+ UNICODE : OFF
16+ - GENERATOR : " Visual Studio 12 2013"
17+ UNICODE : ON
18+ - GENERATOR : " Visual Studio 12 2013"
19+ UNICODE : OFF
20+
21+ platform :
22+ - x86
23+ - x64
24+
25+ configuration :
26+ - Debug
27+
28+ build :
29+ verbosity : normal
30+
31+ build_script :
32+ - ps : if($env:PLATFORM -eq "x64") { $env:CMAKE_GEN_SUFFIX=" Win64" }
33+ - cmake "-G%GENERATOR%%CMAKE_GEN_SUFFIX%" -H. -Bbuild
34+ - cmake --build build --config %CONFIGURATION%
35+
36+ before_test :
37+ - copy /y build\example\DllLoader\%CONFIGURATION%\DllLoader.exe build\example\DllLoader\
38+ - copy /y build\example\DllLoader\%CONFIGURATION%\DllLoaderLoader.exe build\example\DllLoader\
39+ - copy /y build\example\SampleDLL\%CONFIGURATION%\SampleDLL.dll build\example\SampleDLL\
40+
41+ test_script :
42+ - cd build\example\DllLoader
43+ - DllLoader.exe
44+ - DllLoaderLoader.exe
You can’t perform that action at this time.
0 commit comments