Closed ssvine closed 2 months ago
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
No data about Duplication
This pull request is closed because it will be recreated later due to merge conflicts
There are several issues with release builds:
NetBox
crashes andFar
is able to create a crash report, that report won't contain meaningful names ofNetBox
functions. A random user may create an issue attaching such a problematic report. So, it's a good idea to include rather small.map
file in the binary distribution, becauseFar
can use them to convert addresses to meaningful names. (Far
releases include.map
files for all executables.)This pull request adds
NetBox.map
file to the release build.It also fixes and simplifies compiler and linker flags among different build types:
Far
- they are already loaded in the process address space. Also removeoleaut32.dll
- it is not used in the projectRelease
,RelWithDebInfo
, andMinSizeRel
build types use (basically) the same flagsRelWithDebInfo
To summarize:
Release
has maximum speed and the whole program optimizations.RelWithDebInfo
is the same asRelease
, but also generates debug info and the map file.MinSizeRel
is the same asRelease
but it creates the smallest file.