Changeset 7713 for trunk/projects


Ignore:
Timestamp:
05/27/11 15:41:19 (8 years ago)
Author:
hinerm
Message:

Added jtools library to jar2lib

jtools will allow users of jar2lib access to generic utility methods.
Currently supported:

  • standardized JVM creation methods
Location:
trunk/projects/jar2lib
Files:
6 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/projects/jar2lib/pom.xml

    r7621 r7713  
    8888  </developers> 
    8989 
     90  <contributors> 
     91    <contributor><name>Mark Hiner</name></contributor> 
     92  </contributors> 
     93 
    9094  <!-- NB: for loci-base, in case of partial checkout --> 
    9195  <repositories> 
  • trunk/projects/jar2lib/src/main/resources/CMakeLists.vm

    r7709 r7713  
    1313add_subdirectory(jace) 
    1414 
    15 include_directories(include "proxies/include" "jace/include" 
     15include_directories(include "proxies/include" "jace/include" "jtools/include" 
    1616  "${JAVA_INCLUDE_PATH}" "${JAVA_INCLUDE_PATH2}" "${Boost_INCLUDE_DIR}") 
    1717 
    1818file(GLOB_RECURSE PROJECT_SRC "proxies/source/*.cpp") 
    1919 
     20add_library(jtools SHARED "jtools/source/javaTools.cxx") 
     21 
    2022add_library($projectId SHARED ${PROJECT_SRC}) 
    2123 
    2224target_link_libraries($projectId jace) 
     25 
     26target_link_libraries(jtools jace) 
    2327 
    2428if(CMAKE_COMPILER_IS_GNUCXX) 
     
    2933    DEFINE_SYMBOL JACE_PROXY_EXPORTS) 
    3034endif(CMAKE_COMPILER_IS_GNUCXX) 
    31  
    32 target_link_libraries($projectId jace) 
    3335 
    3436#foreach ($sourceFile in $sourceFiles) 
     
    196198) 
    197199 
     200#copy jtools 
     201add_custom_command( 
     202  TARGET jtools 
     203  DEPENDS "${CMAKE_BINARY_DIR}/${J2L_BUILD_TYPE}/${J2L_LIB_PREFIX}jtools${J2L_SUFFIX}" 
     204  POST_BUILD 
     205  COMMAND ${CMAKE_COMMAND} -E copy 
     206  "${CMAKE_BINARY_DIR}/${J2L_BUILD_TYPE}/${J2L_LIB_PREFIX}jtools${J2L_SUFFIX}" 
     207  "${CMAKE_BINARY_DIR}/${Jar2Lib_DIST_DIR}/${J2L_LIB_PREFIX}jtools${J2L_SUFFIX}" 
     208  VERBATIM 
     209) 
     210install(FILES 
     211  "${CMAKE_BINARY_DIR}/${Jar2Lib_DIST_DIR}/${J2L_LIB_PREFIX}jtools${J2L_SUFFIX}" 
     212  DESTINATION "${Jar2Lib_DIST_DIR}" 
     213) 
     214 
    198215# copy jace_runtime.jar 
    199216add_custom_command( 
Note: See TracChangeset for help on using the changeset viewer.