On Mon, Jul 26, 2021 at 7:44 AM Roman Matsybora <matsic@ukr.net> wrote:
For example I have 100 *.c files.
50 of them have to compile as c++.
Can it be solved without file renaming?

Ah, a different question than I thought. For B2 you can cast the source to specific types of files. For example:

----
import cast ;
exe hello : [ cast _ cpp : a.c b.c ] ;
----

FYI.. B2 development and discussion moved to <https://github.com/bfgroup/b2/discussions>.

--
-- René Ferdinand Rivera Morell
-- Don't Assume Anything  -- No Supone Nada
-- Robot Dreams - http://robot-dreams.net