[fpc-pascal] Is there any benefit for a Delphi/Free Pascal/Lazarus programmer to build a C DLL in debug mode ?
skybuck2000 at hotmail.com
Mon Aug 29 09:50:52 CEST 2022
Is there any benefit for a Delphi or Free Pascal/Lazarus programmer to build a C DLL in debug mode ?
Could it and would it somehow lead to better debugging ?
If so how ? So far I don't notice any difference between debug or release build from within Delphi.
Maybe Release/Debug in this case/context only matters for those trying to debug the C DLL from inside Visual Studio ?!? Like attach to executable ? Or run with host application executable ? Such a feature... ?
Building Uber H3 Library can be done as follows:
Step 1: Use CMakeGUI to make build folder
Step 1.1: Select source folder, example:
Step 1.2: Select build folder, example:
Execute step 2 and step 3 in ms-dos command prompt from visual studio with special environment settings:
Step 2: Configure for DLL release:
cmake "..\h3V4-build" -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON
Step 3.1: Build release DLL
cmake --build . --config Release
Step 3.2: Build debug DLL
cmake --build . --config Debug
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal