File tree Expand file tree Collapse file tree 5 files changed +9
-14
lines changed Expand file tree Collapse file tree 5 files changed +9
-14
lines changed Original file line number Diff line number Diff line change 3
3
<PropertyGroup >
4
4
<CppRestBaseFileName >cpprest</CppRestBaseFileName >
5
5
<CppRestSDKVersionMajor >2</CppRestSDKVersionMajor >
6
- <CppRestSDKVersionMinor >0 </CppRestSDKVersionMinor >
7
- <CppRestSDKVersionRevision >1 </CppRestSDKVersionRevision >
6
+ <CppRestSDKVersionMinor >1 </CppRestSDKVersionMinor >
7
+ <CppRestSDKVersionRevision >0 </CppRestSDKVersionRevision >
8
8
<CppRestSDKVersionFileSuffix >$(CppRestSDKVersionMajor)_$(CppRestSDKVersionMinor)</CppRestSDKVersionFileSuffix >
9
9
<CppRestSDKVersionString >$(CppRestSDKVersionMajor).$(CppRestSDKVersionMinor)</CppRestSDKVersionString >
10
10
</PropertyGroup >
11
- <!--
12
- Note: remember to regenerate guiddefs.wxi files using gen_guids_for_msi.ps1 whenever major or minor version file changes
13
- -->
14
11
</Project >
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU")
62
62
message ("-- Setting gcc options" )
63
63
64
64
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" )
66
66
67
67
set (WARNINGS "${WARNINGS} ${LINUX_SUPPRESSIONS} " )
68
68
set (LD_FLAGS "${LD_FLAGS} -Wl,-z,defs" )
@@ -81,7 +81,7 @@ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/Binaries)
81
81
# These settings can be used by the test targets
82
82
set (Casablanca_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR} /include )
83
83
set (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 )
85
85
set (Casablanca_LIBRARIES ${Casablanca_LIBRARY} ${Boost_LIBRARIES} ${Boost_FRAMEWORK} )
86
86
87
87
Original file line number Diff line number Diff line change 15
15
*
16
16
* ==--==
17
17
*/
18
- #define CPPREST_VERSION_REVISION 1
19
- #define CPPREST_VERSION_MINOR 0
18
+ #define CPPREST_VERSION_REVISION 0
19
+ #define CPPREST_VERSION_MINOR 1
20
20
#define CPPREST_VERSION_MAJOR 2
21
21
22
22
#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)
54
54
)
55
55
add_definitions (
56
56
-D_ASYNCRT_EXPORT
57
- -DAZURESTORAGESERVICES_EXPORTS
58
57
-D_PPLX_EXPORT
59
- -DWIN32
60
58
-D_MBCS
61
59
-D_USRDLL
62
60
)
@@ -65,9 +63,9 @@ endif()
65
63
66
64
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${WARNINGS} -Werror -pedantic" )
67
65
68
- add_library (${LIB} casablanca ${SOURCES} )
66
+ add_library (${Casablanca_LIBRARY} ${SOURCES} )
69
67
70
- target_link_libraries (${LIB} casablanca
68
+ target_link_libraries (${Casablanca_LIBRARY}
71
69
${OPENSSL_LIBRARIES}
72
70
${CMAKE_THREAD_LIBS_INIT}
73
71
${Boost_FRAMEWORK}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ add_library(${LIB}common_utilities
12
12
)
13
13
14
14
target_link_libraries (${LIB} common_utilities
15
- ${LIB} casablanca
15
+ ${Casablanca_LIBRARY}
16
16
${LIB} unittestpp
17
17
${BOOST_SYSTEM_LIBRARY}
18
18
${BOOST_THREAD_LIBRARY}
You can’t perform that action at this time.
0 commit comments