noober
noober

Reputation: 4938

Avoid including path to BOOST into exe

We are working on a project written in C++ using BOOST, and the project is being built in Visual Studio. Inspecting the project build (exe file) I've discovered there is an entry of path to BOOST (on a build server). So, I guess it's there due to the __FILE__ macro.

EDIT: It's Release configuration with no debug information.

EDIT2: The following command is used for building BOOST:

b2 --toolset=msvc-10.0 --stagedir=./stage/2010/win32
address-model=32 variant=release
threading=single,multi link=static
runtime-link=static debug-symbols=off

Our customer doesn't want the path being there, so how to avoid absolute path including?

Regards,

Upvotes: 2

Views: 145

Answers (1)

se_pavel
se_pavel

Reputation: 2208

You should use BOOST_EXCEPTION_DISABLE preprocessor definition

Upvotes: 3

Related Questions