$project_name variable works wrong?


#1

I’m using simple configuration for the build (Ctrl+B)
[cmake.build]:
{
“script” : [
“cmake … -DCMAKE_BUILD_TYPE=Debug”,
“make”
],
“info” : “Building $project_name with CMake”,
“env” : {},
“working_dir” : “$project_path/my_project/build”
}

the version above hangs on the build process,

please looks the version below , pay your attention , the only difference is a unexisting variable $project
{
“script” : [
“cmake … -DCMAKE_BUILD_TYPE=Debug”,
“make”
],
“info” : “Building $project_name with CMake”,
“selector” : “source.c++”,
“env” : {},
“working_dir” : “$project/my_project/build”
}

you see there is no such variable as $project and , of course, the header of the build process shows $project as astring instead of the replacing with real project name
however!
all other steps works for second script (I mean cmake & make )
and doesn’t work for first one,
first version does only show “Idle” message on the screen

Is this a bug in a build engine?

=================================================
update:
looks like a bug in build engine , the issue is not related with $project_name ,
just simplified script:
{
“script” : [“cmake”],
“working_dir” : “$project_path/algolist/build”
}

also hangs with “Idle” message