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: E:\SourceCode\H3V4\ Step 1.2: Select build folder, example: E:\SourceCode\H3V4-build\ Execute step 2 and step 3 in ms-dos command prompt from visual studio with special environment settings: Step 2: Configure for DLL release: cd E:\SourceCode\H3V4\ cmake "..\h3V4-build" -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON Step 3.1: Build release DLL cd E:\SourceCode\H3V4-build\ cmake --build . --config Release or Step 3.2: Build debug DLL cd E:\SourceCode\H3V4-build\ cmake --build . --config Debug Bye, Skybuck.
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal