Skip to content

Commit

Permalink
Update build_flatbuffers_cpp.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KirisameMarisa authored Jan 20, 2024
1 parent 2d4c177 commit 3afa5df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ExternalTools/BuildScripts/build_flatbuffers_cpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ def Build():

def RunMsBuild():
subprocess.call(["cmake", "-G", "Visual Studio 17", "-DCMAKE_BUILD_TYPE=Release"], cwd=config.cFlatBuffersPath)
subprocess.call(["msbuild", config.cFlatBuffersPath / "FlatBuffers.sln", "-t:flatbuffers", "/p:Configuration=Release"], cwd=config.cFlatBuffersPath)
subprocess.call(["msbuild", config.cFlatBuffersPath / "FlatBuffers.sln", "-t:flatc", "/p:Configuration=Release"], cwd=config.cFlatBuffersPath)
subprocess.call(["msbuild", "FlatBuffers.sln", "-t:flatbuffers", "/p:Configuration=Release"], cwd=config.cFlatBuffersPath)
subprocess.call(["msbuild", "FlatBuffers.sln", "-t:flatc", "/p:Configuration=Release"], cwd=config.cFlatBuffersPath)

def RunUnix():
subprocess.call(["cmake", "-G", "Unix Makefiles", "-DCMAKE_BUILD_TYPE=Release"], cwd=config.cFlatBuffersPath)
Expand Down

0 comments on commit 3afa5df

Please sign in to comment.