summaryrefslogtreecommitdiff
path: root/reflection
diff options
context:
space:
mode:
authorFlaviu <cflaviu@users.noreply.github.com>2018-03-23 17:58:07 +0200
committerWouter van Oortmerssen <aardappel@gmail.com>2018-03-23 08:58:07 -0700
commit79f62ee35383f44f98cf6c61b5cff1a9cd901f2c (patch)
tree2df3c1954b8706c00ca24e60304c1d5f9541b46c /reflection
parentc0a6e5120d6dd5d7b9de314d43fb55e71dee828d (diff)
downloadflatbuffers-79f62ee35383f44f98cf6c61b5cff1a9cd901f2c.tar.gz
flatbuffers-79f62ee35383f44f98cf6c61b5cff1a9cd901f2c.tar.bz2
flatbuffers-79f62ee35383f44f98cf6c61b5cff1a9cd901f2c.zip
Const correctness in generated code and in code generators. Added missing \reflection\generate_code.bat file. (#4679)
Diffstat (limited to 'reflection')
-rw-r--r--reflection/generate_code.bat18
1 files changed, 18 insertions, 0 deletions
diff --git a/reflection/generate_code.bat b/reflection/generate_code.bat
new file mode 100644
index 00000000..8f58c0c7
--- /dev/null
+++ b/reflection/generate_code.bat
@@ -0,0 +1,18 @@
+:: Copyright 2015 Google Inc. All rights reserved.
+::
+:: Licensed under the Apache License, Version 2.0 (the "License");
+:: you may not use this file except in compliance with the License.
+:: You may obtain a copy of the License at
+::
+:: http://www.apache.org/licenses/LICENSE-2.0
+::
+:: Unless required by applicable law or agreed to in writing, software
+:: distributed under the License is distributed on an "AS IS" BASIS,
+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+:: See the License for the specific language governing permissions and
+:: limitations under the License.
+
+set buildtype=Release
+if "%1"=="-b" set buildtype=%2
+
+..\%buildtype%\flatc.exe --cpp --no-prefix -o ../include/flatbuffers reflection.fbs