21
Using Code::Blocks / Test CB into command line ... failed. Don't find target ... Why ?
« Last post by ThierryD on September 01, 2025, 03:01:14 pm »Hi,
I (re)test to run CB in command line on Windows (11 64 bit), to rebuild only "one" target of my project (here CLANG on Cygwin64, new version 20.1.
Just command to excute in command console : "codeblocks.exe --target="Debug CLANG CYG N24" /nd /ns --rebuild Lesson25.workspace --log-to-file"
Here result of log (codeblocks.log) :
Sure, this target exist in my project (joined in zip file).
What's wrong ?
Thank's.
Regards
I (re)test to run CB in command line on Windows (11 64 bit), to rebuild only "one" target of my project (here CLANG on Cygwin64, new version 20.1.

Just command to excute in command console : "codeblocks.exe --target="Debug CLANG CYG N24" /nd /ns --rebuild Lesson25.workspace --log-to-file"
Here result of log (codeblocks.log) :
Code
Manager initialized
Loaded config file 'C:\Users\thier\AppData\Roaming\CodeBlocks\default.conf' (personality: 'default')
Configured 0 tools
Scanning for plugins in C:\Users\thier\AppData\Roaming\CodeBlocks\share\codeblocks\plugins
Loaded 0 plugins
Scanning for plugins in C:\Codeblocks\share\codeblocks\plugins
Loaded 1 plugins
Loading:
Compiler
Initial scaling factor is 1.000 (actual: 1.000)
Opening C:\src\OpenGL\NeHe_Lesson25-master\Lesson25.cbp
Done.
ProjectManager::LoadProject took: 0.112 seconds.
ProjectManager::SetProject() took: 0.061 seconds.
Warning: No target named 'Debug CLANG CYG N24' in project 'Lesson25'. Project will not be built...
Warning: No target named 'Debug CLANG CYG N24' in project 'Lesson25'. Project will not be built...
Sure, this target exist in my project (joined in zip file).
What's wrong ?
Thank's.
Regards