File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 <PropertyGroup >
44 <CppRestBaseFileName >cpprest</CppRestBaseFileName >
55 <CppRestSDKVersionMajor >2</CppRestSDKVersionMajor >
6- <CppRestSDKVersionMinor >0 </CppRestSDKVersionMinor >
7- <CppRestSDKVersionRevision >1 </CppRestSDKVersionRevision >
6+ <CppRestSDKVersionMinor >1 </CppRestSDKVersionMinor >
7+ <CppRestSDKVersionRevision >0 </CppRestSDKVersionRevision >
88 <CppRestSDKVersionFileSuffix >$(CppRestSDKVersionMajor)_$(CppRestSDKVersionMinor)</CppRestSDKVersionFileSuffix >
99 <CppRestSDKVersionString >$(CppRestSDKVersionMajor).$(CppRestSDKVersionMinor)</CppRestSDKVersionString >
1010 </PropertyGroup >
11- <!--
12- Note: remember to regenerate guiddefs.wxi files using gen_guids_for_msi.ps1 whenever major or minor version file changes
13- -->
1411</Project >
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU")
6262 message ("-- Setting gcc options" )
6363
6464 set (WARNINGS "-Wall -Wextra -Wunused-parameter -Wcast-align -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wunreachable-code" )
65- set (LINUX_SUPPRESSIONS "-Wno-deprecated -Wno-unknown-pragmas -Wno-reorder -Wno-unused-function -Wno-char-subscripts -Wno-switch -Wno-unused-but-set-parameter -Wno-deprecated -Wno- unused-value -Wno-unused-local-typedefs" )
65+ set (LINUX_SUPPRESSIONS "-Wno-deprecated -Wno-unknown-pragmas -Wno-reorder -Wno-unused-function -Wno-char-subscripts -Wno-switch -Wno-unused-but-set-parameter -Wno-unused-value -Wno-unused-local-typedefs" )
6666
6767 set (WARNINGS "${WARNINGS} ${LINUX_SUPPRESSIONS} " )
6868 set (LD_FLAGS "${LD_FLAGS} -Wl,-z,defs" )
@@ -81,7 +81,7 @@ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/Binaries)
8181# These settings can be used by the test targets
8282set (Casablanca_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR} /include)
8383set (Casablanca_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR} /include ${Boost_INCLUDE_DIR} )
84- set (Casablanca_LIBRARY ${LIB} casablanca )
84+ set (Casablanca_LIBRARY ${LIB} cpprest_2_1 )
8585set (Casablanca_LIBRARIES ${Casablanca_LIBRARY} ${Boost_LIBRARIES} ${Boost_FRAMEWORK} )
8686
8787
Original file line number Diff line number Diff line change 1515*
1616* ==--==
1717*/
18- #define CPPREST_VERSION_REVISION 1
19- #define CPPREST_VERSION_MINOR 0
18+ #define CPPREST_VERSION_REVISION 0
19+ #define CPPREST_VERSION_MINOR 1
2020#define CPPREST_VERSION_MAJOR 2
2121
2222#define CPPREST_VERSION (CPPREST_VERSION_MAJOR*100000+CPPREST_VERSION_MINOR*100+CPPREST_VERSION_REVISION)
Original file line number Diff line number Diff line change @@ -54,9 +54,7 @@ elseif(WIN32)
5454 )
5555 add_definitions (
5656 -D_ASYNCRT_EXPORT
57- -DAZURESTORAGESERVICES_EXPORTS
5857 -D_PPLX_EXPORT
59- -DWIN32
6058 -D_MBCS
6159 -D_USRDLL
6260 )
@@ -65,9 +63,9 @@ endif()
6563
6664set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${WARNINGS} -Werror -pedantic" )
6765
68- add_library (${LIB} casablanca ${SOURCES} )
66+ add_library (${Casablanca_LIBRARY} ${SOURCES} )
6967
70- target_link_libraries (${LIB} casablanca
68+ target_link_libraries (${Casablanca_LIBRARY}
7169 ${OPENSSL_LIBRARIES}
7270 ${CMAKE_THREAD_LIBS_INIT}
7371 ${Boost_FRAMEWORK}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ add_library(${LIB}common_utilities
1212 )
1313
1414target_link_libraries (${LIB} common_utilities
15- ${LIB} casablanca
15+ ${Casablanca_LIBRARY}
1616 ${LIB} unittestpp
1717 ${BOOST_SYSTEM_LIBRARY}
1818 ${BOOST_THREAD_LIBRARY}
You can’t perform that action at this time.
0 commit comments