|
Boost-Build : |
From: Roman Matsybora (matsic_at_[hidden])
Date: 2021-07-26 12:44:09
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:
Hello,
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: https://lists.boost.org/mailman/listinfo.cgi/boost-build
#ifdef __cplusplus__
// C++ code
#else
/* C code */
#endif
And build the source twice.
-- -- René Ferdinand Rivera Morell -- Don't Assume Anything -- No Supone Nada -- Robot Dreams - http://robot-dreams.net
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk