Chris Hillery has proposed merging lp:~zorba-coders/zorba/util-jvm-ctest-fix 
into lp:zorba/util-jvm-module.

Requested reviews:
  Zorba Coders (zorba-coders)

For more details, see:
Your team Zorba Coders is requested to review the proposed merge of 
lp:~zorba-coders/zorba/util-jvm-ctest-fix into lp:zorba/util-jvm-module.
=== modified file 'src/CMakeLists.txt'
--- src/CMakeLists.txt	2012-05-22 00:15:11 +0000
+++ src/CMakeLists.txt	2012-05-25 21:40:25 +0000
@@ -34,6 +34,21 @@
 # default lib directory.
 ADD_LIBRARY(util-jvm SHARED util-jvm.cpp JavaVMSingleton.cpp)
+# Need to create the util-jvm shared library in the same directory as
+# libzorba. Since the libzorba target is created after modules are loaded,
+# we have to just assume it here. We also have to assume that we are
+# building as part of a Zorba build, but that actually is the only way
+# this "module" works anyway.
+# Shared libraries are considered RUNTIME targets on Win32
+# platforms and LIBRARY targets elsewhere.
+IF (WIN32)
+  SET (target_type RUNTIME)
+  SET (target_type LIBRARY)
+  ${target_type}_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/src")
 # MAC OS X only property

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to