]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
update flags for TestLauncher
authorsecher <secher>
Fri, 8 Apr 2011 13:52:43 +0000 (13:52 +0000)
committersecher <secher>
Fri, 8 Apr 2011 13:52:43 +0000 (13:52 +0000)
src/Launcher/Makefile.am

index 666259f4e8faf11a15025f866e9394392c2ddf00..61dd20cd04a8e3bc76314c984cf76556309e903d 100644 (file)
@@ -155,6 +155,8 @@ libLauncher_la_LIBADD =\
 #
 if !WITHONLYLAUNCHER
   bin_PROGRAMS = SALOME_LauncherServer TestLauncher
+else
+  bin_PROGRAMS = TestLauncher
 endif
 
 SALOME_LauncherServer_SOURCES =\
@@ -175,6 +177,10 @@ SALOME_LauncherServer_LDADD =\
 
 TestLauncher_SOURCES = TestLauncher.cxx
 
-TestLauncher_CPPFLAGS = @LIBXML_INCLUDES@ -I$(srcdir)/../ResourcesManager
+TestLauncher_CPPFLAGS = @LIBXML_INCLUDES@ -I$(srcdir)/../ResourcesManager @LIBBATCH_INCLUDES@
+
+if WITH_LIBBATCH
+  TestLauncher_CPPFLAGS += -DWITH_LIBBATCH
+endif
 
 TestLauncher_LDADD = @LIBXML_LIBS@ ../ResourcesManager/libResourcesManager.la libLauncher.la @LIBBATCH_LIBS@