Ignore:
Timestamp:
09/20/11 09:56:33 (8 years ago)
Author:
hinerm
Message:

Fixed jace-runtime.jar copy path

The previous path to copy jace-runtime.jar was
relative to the build path instead of source, causing
errors if the build path was more than one level
deep from source.

This has been corrected, as the .jar will always
be in the source directory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/projects/jar2lib/src/main/resources/CMakeLists.vm

    r7775 r7776  
    279279add_custom_command( 
    280280  TARGET ${projectId} 
    281   DEPENDS "${CMAKE_BINARY_DIR}/../jace-runtime.jar" 
    282   POST_BUILD 
    283   COMMAND ${CMAKE_COMMAND} -E copy 
    284   "${CMAKE_BINARY_DIR}/../jace-runtime.jar" 
     281  DEPENDS "${CMAKE_SOURCE_DIR}/jace-runtime.jar" 
     282  POST_BUILD 
     283  COMMAND ${CMAKE_COMMAND} -E copy 
     284  "${CMAKE_SOURCE_DIR}/jace-runtime.jar" 
    285285  "${CMAKE_BINARY_DIR}/${Jar2Lib_DIST_DIR}/${Jar2Lib_DEPS_DIR}/jace-runtime.jar" 
    286286  VERBATIM 
Note: See TracChangeset for help on using the changeset viewer.