Boost logo

Boost-Build :

From: Roman Matsybora (matsic_at_[hidden])
Date: 2021-07-26 12:44:09

('binary' encoding is not supported, stored as-is) For example I have 100 *.c files.
50 of them have to compile as c++.
Can it be solved without file renaming?

26 July 2021, 15:35:18, by "René Ferdinand Rivera Morell" <grafikrobot_at_[hidden]>:

On Mon, Jul 26, 2021 at 4:20 AM Roman Matsybora via Boost-build <boost-build_at_[hidden]> wrote:
Some part of c files need to be compiled as c++ but another part of *.c files stay with c.
Is there some general solution or may be tool dependent?
Currently using Visual Studio 2017-2019.
Unsubscribe & other changes:

#ifdef __cplusplus__
// C++ code
/* C code */

And build the source twice.

-- René Ferdinand Rivera Morell
-- Don't Assume Anything  -- No Supone Nada
-- Robot Dreams -

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at