Skip to content

Commit 003dfec

Browse files
committed
Try debug build
1 parent 2ff5840 commit 003dfec

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

SetCompilerFlags.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,14 @@ if (NOT (${CMAKE_SYSTEM_NAME} STREQUAL "Windows"))
9292
set(LIB_INSTALL_DIR "lib")
9393
else ()
9494
message("Windows flags")
95-
add_definitions(-D WIN32 -D QT_DEBUG)
95+
add_definitions(-D WIN32)
9696

9797
# By default, do not warn when built on machines using only VS Express:
9898
if(NOT DEFINED CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS)
9999
set(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS ON)
100100
endif()
101101
set(CMAKE_C_FLAGS "/Zc:wchar_t- /EHsc /GR ${CMAKE_C_FLAGS}")
102-
set(CMAKE_CXX_FLAGS "/Zc:wchar_t- /EHsc /GR /W4 /MP /FAu ${CMAKE_CXX_FLAGS} /D DEBUG /D QT_DEBUG")
102+
set(CMAKE_CXX_FLAGS "/Zc:wchar_t- /EHsc /GR /W4 /MP /FAu ${CMAKE_CXX_FLAGS}")
103103

104104
set(LIB_INSTALL_DIR "bin")
105105
endif ()

appveyor.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ environment:
1717
BINTRAYKEY:
1818
secure: SF9KK/1ShDAudlHJFsZro1MQOaYqjJ0Hb2mbJEvFyxPCLHtevjyxuLT1IrsSmE1o
1919

20-
configuration: Release
20+
configuration: Debug
2121

2222
os: Visual Studio 2015
2323

@@ -33,8 +33,8 @@ build_script:
3333
- cd c:\b
3434
- echo %BOOST_ROOT%
3535
- echo %BOOST_LIBRARYDIR%
36-
- cmake -G "Visual Studio 14 2015 Win64" "-DCMAKE_PREFIX_PATH=%QTDIR%;%BOOST_ROOT%" "-DLIMA_RESOURCES=build" "-DCMAKE_BUILD_TYPE=RelWithDebInfo" "-DCMAKE_INSTALL_PREFIX=c:\d" "-DBOOST_ROOT:STRING=%BOOST_ROOT%" "-DBOOST_LIBRARYDIR:STRING=%BOOST_LIBRARYDIR%" c:/projects/lima
37-
- cmake --build . --config RelWithDebInfo
36+
- cmake -G "Visual Studio 14 2015 Win64" "-DCMAKE_PREFIX_PATH=%QTDIR%;%BOOST_ROOT%" "-DLIMA_RESOURCES=build" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=c:\d" "-DBOOST_ROOT:STRING=%BOOST_ROOT%" "-DBOOST_LIBRARYDIR:STRING=%BOOST_LIBRARYDIR%" c:/projects/lima
37+
- cmake --build . --config Debug
3838

3939
on_success:
4040
- ps: ls c:/d/share/apps/lima/tests

0 commit comments

Comments
 (0)