Author Topic: Open C::B with workspace from command line ?  (Read 90 times)

Offline yycvm

  • Single posting newcomer
  • *
  • Posts: 2
Open C::B with workspace from command line ?
« on: June 30, 2020, 11:25:57 am »
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

Offline gd_on

  • Lives here!
  • ****
  • Posts: 560
Re: Open C::B with workspace from command line ?
« Reply #1 on: June 30, 2020, 12:24:44 pm »
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 !
« Last Edit: June 30, 2020, 12:32:18 pm by gd_on »
Windows 10, svn C::B (last version or almost!), WxWidgets 3.1.4 (git), Compilers 8.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\MinGW64) or 32 bits (sjlj, posix in C:\MinGW32). Tests and switch to msys2 and gcc 10.1 compilers.