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

Offline yycvm

  • Single posting newcomer
  • *
  • Posts: 3
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

Online gd_on

  • Lives here!
  • ****
  • Posts: 796
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 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.4 (tests with 3.3), Msys2 Compilers 13.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).