Skip to content

Instantly share code, notes, and snippets.

@CarlTBarnes
Last active August 8, 2020 21:11
Show Gist options
  • Select an option

  • Save CarlTBarnes/bb8f31ff45896db9cacaee79c732ca8e to your computer and use it in GitHub Desktop.

Select an option

Save CarlTBarnes/bb8f31ff45896db9cacaee79c732ca8e to your computer and use it in GitHub Desktop.
Clarion 11 RED file to Copy Debug ClaRUN.DLL to Project Folder during Debug builds
-- #################### Clarion110.RED #################### --
-- Project Redirection for Clarion 11.0 to Copy the Clarion10\Bin\Debug DLLs only for Debug builds
-- This RED has a [Copy] *.dll = %BIN%\debug
{include clarion_DebugDllCopy.red}
-- this includes the normal RED --
{include %REDDIR%\%REDNAME%}
-- review: https://clarionhub.com/t/how-to-improve-the-call-stack-when-your-program-gpfs/188
-- CIDC I presented on Last Chance Exception Hook that allows writing the log always --
To create LIB files in the CwProj folder add "*.lib = ." lines to Debug and Release:
[DEBUG]
*.lib = .
[RELEASE]
*.lib = .
; https://clarionhub.com/t/editing-default-redirection-file/1646
-- #################### Clarion_DebugDllCopy.RED #################### --
-- Project Redirection for Clarion 11.0 just to get the Clarion11\Bin\Debug DLLs
--[Copy] seems to work to do this for Debug
[DEBUG]
-- Directories only used when copying dlls
*.dll = %BIN%\debug
--- ??? If this is NOT working then maybe you are builidng with LIBs not DLLs ??? ---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment