Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
a7eaf369
Commit
a7eaf369
authored
Sep 02, 2016
by
Wei-Yin Chen (陳威尹)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename UNICODE to protobuf_UNICODE
parent
48811b2e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
appveyor.bat
appveyor.bat
+1
-1
CMakeLists.txt
cmake/CMakeLists.txt
+2
-2
No files found.
appveyor.bat
View file @
a7eaf369
...
...
@@ -10,7 +10,7 @@ goto :error
echo Building C++
mkdir build_msvc
cd build_msvc
cmake -G "%generator%" -Dprotobuf_BUILD_SHARED_LIBS=%BUILD_DLL% -DUNICODE=%UNICODE% ../cmake
cmake -G "%generator%" -Dprotobuf_BUILD_SHARED_LIBS=%BUILD_DLL% -D
protobuf_
UNICODE=%UNICODE% ../cmake
msbuild protobuf.sln /p:Platform=%vcplatform% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" || goto error
cd %configuration%
tests.exe || goto error
...
...
cmake/CMakeLists.txt
View file @
a7eaf369
...
...
@@ -159,9 +159,9 @@ else (MSVC)
set
(
LIB_PREFIX
)
endif
(
MSVC
)
if
(
UNICODE
)
if
(
protobuf_
UNICODE
)
add_definitions
(
-DUNICODE -D_UNICODE
)
endif
(
UNICODE
)
endif
(
protobuf_
UNICODE
)
include
(
libprotobuf-lite.cmake
)
include
(
libprotobuf.cmake
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment