Continuing to get acquainted with Code::Blocks a question arose regarding a bundle of it with CMake . How in CMake to appoint the started project by default?

The project structure: the library and the test to it, by default, after generating CMake configs, it does not add the project being launched, although the macros are registered, and for MSVC/MSVS it works:

 set_property( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT ${app_target} ) 

I assume that the macro should be for Code::Blocks ..

Without this, when you try to start a project, Code::Blocks reports: You must select a host application to "run" a commands only target

How to make hands obviously:

CodeBlocks target run default

but I want to automate this process.

    0