Transition to cmake on Windows
#38
GenerateBindings.cmd? Where did you get that from, there isn't such a file in the repo anymore.

You don't need to generate the bindings, CMake will do that for you (the first time, at least); you can then update the bindings by executing the $/src/Bindings/AllToLua.bat script manually. I personally have added a command to VS's External tools menu (Tools -> External Tools...), like this:
Code:
Title: &Update bindings
Command: <full-path-to-mc-server>\src\Bindings\tolua++.exe
Arguments: -L virtual_method_hooks.lua -o Bindings.cpp -H Bindings.h AllToLua.pkg
Initial directory: $(SolutionDir)\src\Bindings\
This allows me to update bindings for any MCServer solution I have open (I keep a few repositories checked out in parallel) simply by pressing Alt+T, then U
Reply
Thanks given by:


Messages In This Thread
Transition to cmake on Windows - by xoft - 01-12-2014, 08:32 PM
RE: Transition to cmake on Windows - by NiLSPACE - 01-12-2014, 08:36 PM
RE: Transition to cmake on Windows - by xoft - 01-12-2014, 09:18 PM
RE: Transition to cmake on Windows - by tigerw - 01-12-2014, 09:19 PM
RE: Transition to cmake on Windows - by NiLSPACE - 01-12-2014, 09:31 PM
RE: Transition to cmake on Windows - by xoft - 01-12-2014, 09:32 PM
RE: Transition to cmake on Windows - by worktycho - 01-12-2014, 10:27 PM
RE: Transition to cmake on Windows - by xoft - 01-12-2014, 11:26 PM
RE: Transition to cmake on Windows - by NiLSPACE - 01-12-2014, 09:34 PM
RE: Transition to cmake on Windows - by xoft - 01-14-2014, 02:16 AM
RE: Transition to cmake on Windows - by xoft - 01-14-2014, 06:33 AM
RE: Transition to cmake on Windows - by bearbin - 01-14-2014, 06:40 AM
RE: Transition to cmake on Windows - by NiLSPACE - 01-14-2014, 06:45 AM
RE: Transition to cmake on Windows - by ThuGie - 01-14-2014, 07:30 AM
RE: Transition to cmake on Windows - by xoft - 01-14-2014, 04:34 PM
RE: Transition to cmake on Windows - by tigerw - 01-14-2014, 09:02 AM
RE: Transition to cmake on Windows - by xoft - 01-14-2014, 06:41 PM
RE: Transition to cmake on Windows - by xoft - 01-15-2014, 11:46 PM
RE: Transition to cmake on Windows - by NiLSPACE - 01-16-2014, 12:01 AM
RE: Transition to cmake on Windows - by xoft - 01-16-2014, 12:47 AM
RE: Transition to cmake on Windows - by tigerw - 01-16-2014, 04:42 AM
RE: Transition to cmake on Windows - by xoft - 01-16-2014, 06:29 AM
RE: Transition to cmake on Windows - by tigerw - 01-16-2014, 09:28 AM
RE: Transition to cmake on Windows - by xoft - 01-16-2014, 06:56 PM
RE: Transition to cmake on Windows - by xoft - 01-16-2014, 09:41 PM
RE: Transition to cmake on Windows - by tigerw - 01-17-2014, 04:17 AM
RE: Transition to cmake on Windows - by xoft - 01-17-2014, 05:18 AM
RE: Transition to cmake on Windows - by tigerw - 01-17-2014, 05:47 AM
RE: Transition to cmake on Windows - by bearbin - 01-17-2014, 06:02 AM
RE: Transition to cmake on Windows - by xoft - 01-17-2014, 06:42 AM
RE: Transition to cmake on Windows - by tigerw - 01-17-2014, 07:20 AM
RE: Transition to cmake on Windows - by xoft - 01-17-2014, 05:11 PM
RE: Transition to cmake on Windows - by tigerw - 01-18-2014, 05:17 AM
RE: Transition to cmake on Windows - by xoft - 01-18-2014, 09:28 AM
RE: Transition to cmake on Windows - by ThuGie - 01-19-2014, 10:30 AM
RE: Transition to cmake on Windows - by xoft - 01-19-2014, 05:02 PM
RE: Transition to cmake on Windows - by ThuGie - 01-19-2014, 11:06 PM
RE: Transition to cmake on Windows - by xoft - 01-19-2014, 11:48 PM
RE: Transition to cmake on Windows - by tigerw - 01-20-2014, 12:42 AM
RE: Transition to cmake on Windows - by xoft - 01-20-2014, 01:21 AM
RE: Transition to cmake on Windows - by ThuGie - 01-20-2014, 03:10 AM



Users browsing this thread: 1 Guest(s)