News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Open C::B with workspace from command line ?

Started by yycvm, June 30, 2020, 11:25:57 AM

Previous topic - Next topic

yycvm

Hello,

I would like to start C::B from commandline in such a way, that the workspace is opened by a workspace-file from command line.

I couldn't find it in the documentation ?

Thanks for help,
Clemens

gd_on

#1
here : http://wiki.codeblocks.org/index.php/Code::Blocks_command_line_arguments
so something like "C:\Program Files\CodeBlocks\codeblocks" CodeBlocks_wx31_64.workspace works in a cmd window
if codeblocks is installed in C:\Program Files\CodeBlocks\codeblocks and the .workspace is in your current directory.

And in the user manual (http://www.codeblocks.org/docs/manual_codeblocks_en.pdf) have a look in chapter 1.12 !
Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).