Plugin in Code::Blocks
#2

I know you asked for Code::Blocks, but you can create the project with Visual Studio and edit it with a different (lightweight) editor if you're comfortable with command line building.
To just build the plugin without starting the Visual Studio program, you can execute following batch file: (build.bat)
Код:
"C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe" src/buildvs/helloworld.sln /p:Configuration=Debug /p:VisualStudioVersion=12.0
Of couse you have to modify the path to how it is on your system.
A little difficulty is when you want to add new files you have to edit the .vcxproj file to add more lines like
Код:
    <ClCompile Include="D:\Users\Robin\games\gtasa\samp\!new\MMPG\servernew\src\helloworld.cpp" />
at the bottom along with the others.
This is how I develop my cpp gamemode, by using vim as editor and command line building and that way I don't have to struggle with slow Visual Studio
Reply


Messages In This Thread
Plugin in Code::Blocks - by MBJ - 28.11.2016, 02:28
Re: Plugin in Code::Blocks - by yugecin - 30.11.2016, 12:18
Re: Plugin in Code::Blocks - by SyS - 30.11.2016, 12:20

Forum Jump:


Users browsing this thread: 1 Guest(s)