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
09f3f4ee
Commit
09f3f4ee
authored
Jun 17, 2015
by
Jon Skeet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates to handle use of cmake for Windows builds.
parent
e2acd854
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
8 deletions
+5
-8
.gitignore
.gitignore
+1
-2
libprotoc.cmake
cmake/libprotoc.cmake
+0
-2
generate_protos.sh
csharp/generate_protos.sh
+4
-4
No files found.
.gitignore
View file @
09f3f4ee
...
...
@@ -77,8 +77,7 @@ java/target
javanano/target
# Windows native output.
vsprojects/Debug
vsprojects/Release
cmake/build
# NuGet packages: we want the repository configuration, but not the
# packages themselves.
...
...
cmake/libprotoc.cmake
View file @
09f3f4ee
...
...
@@ -16,7 +16,6 @@ set(libprotoc_files
${
protobuf_source_dir
}
/src/google/protobuf/compiler/cpp/cpp_string_field.cc
${
protobuf_source_dir
}
/src/google/protobuf/compiler/csharp/csharp_enum.cc
${
protobuf_source_dir
}
/src/google/protobuf/compiler/csharp/csharp_enum_field.cc
${
protobuf_source_dir
}
/src/google/protobuf/compiler/csharp/csharp_extension.cc
${
protobuf_source_dir
}
/src/google/protobuf/compiler/csharp/csharp_field_base.cc
${
protobuf_source_dir
}
/src/google/protobuf/compiler/csharp/csharp_generator.cc
${
protobuf_source_dir
}
/src/google/protobuf/compiler/csharp/csharp_helpers.cc
...
...
@@ -28,7 +27,6 @@ set(libprotoc_files
${
protobuf_source_dir
}
/src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc
${
protobuf_source_dir
}
/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc
${
protobuf_source_dir
}
/src/google/protobuf/compiler/csharp/csharp_umbrella_class.cc
${
protobuf_source_dir
}
/src/google/protobuf/compiler/csharp/csharp_writer.cc
${
protobuf_source_dir
}
/src/google/protobuf/compiler/java/java_context.cc
${
protobuf_source_dir
}
/src/google/protobuf/compiler/java/java_doc_comment.cc
${
protobuf_source_dir
}
/src/google/protobuf/compiler/java/java_enum.cc
...
...
csharp/generate_protos.sh
View file @
09f3f4ee
...
...
@@ -23,10 +23,10 @@ cd $(dirname $0)/..
# Windows and Unix.
if
[
-z
"
$PROTOC
"
]
;
then
# TODO(jonskeet): Use an array and a for loop instead?
if
[
-x
vsprojects
/Debug/protoc.exe
]
;
then
PROTOC
=
vsprojects
/Debug/protoc.exe
elif
[
-x
vsprojects
/Release/protoc.exe
]
;
then
PROTOC
=
vsprojects
/Release/protoc.exe
if
[
-x
cmake/build
/Debug/protoc.exe
]
;
then
PROTOC
=
cmake/build
/Debug/protoc.exe
elif
[
-x
cmake/build
/Release/protoc.exe
]
;
then
PROTOC
=
cmake/build
/Release/protoc.exe
elif
[
-x
src/protoc
]
;
then
PROTOC
=
src/protoc
else
...
...
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