From 0f66f13055d4c62056b670d3a27bb7e2b46d932d Mon Sep 17 00:00:00 2001
From: Arafat Nourredine <arafat.nourredine@synchrotron-soleil.fr>
Date: Thu, 17 Sep 2009 08:05:18 +0000
Subject: [PATCH] - Add DEBUG mode

---
 src/Makefile.VC | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/src/Makefile.VC b/src/Makefile.VC
index 125cbba..2af1190 100644
--- a/src/Makefile.VC
+++ b/src/Makefile.VC
@@ -3,7 +3,22 @@ device_server= RetrigAO
 #
 INCUSER= /I$(D2KDASK_INC) /I$(PCISDASK_INC)
 #
-LIBUSER= $(ASL_LIB)/asl.lib $(ACE_LIB)/ace.lib
+# LIBUSER = "x:\moncheminlibrairie\malibrairie.lib"
+LIBUSER=  $(ACE_LIB)\ace.lib \
+          $(ASL_LIB)\asl.lib
+
+!ifdef DEBUG
+!message "Using libraries in Debug..."
+LIBUSER=  $(ACE_LIB)\aced.lib \
+          $(ASL_LIB)\asld.lib
+
+
+!else
+!message "Using libraries in Release..."
+LIBUSER=  $(ACE_LIB)\ace.lib \
+          $(ASL_LIB)\asl.lib
+
+!endif		
 
 #
 # ------------------Fin des modifications pour le end user -------------------------------------
-- 
GitLab