Changeset 7998


Ignore:
Timestamp:
05/08/12 14:28:13 (7 years ago)
Author:
hinerm
Message:

Corrected Debug/Release path settings

The variable specifying Debug/Release was mistakenly always being set to ""
(as it should be for *nix) thus preventing it from being properly set when
running on Windows.

This has been corrected.

File:
1 edited

Legend:

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

    r7925 r7998  
    5252if(${J2L_WIN_BUILD_DEBUG} STREQUAL "ON") 
    5353  if(NOT DEFINED J2L_BUILD_VALUE) 
    54     set(J2L_BUILD_VALUE Debug) 
     54    set(J2L_BUILD_VALUE /Debug) 
    5555  endif(NOT DEFINED J2L_BUILD_VALUE) 
    5656elseif(${J2L_WIN_BUILD_DEBUG} STREQUAL "OFF") 
    5757  if(NOT DEFINED J2L_BUILD_VALUE) 
    58     set(J2L_BUILD_VALUE Release) 
     58    set(J2L_BUILD_VALUE /Release) 
    5959  endif(NOT DEFINED J2L_BUILD_VALUE) 
    6060endif(${J2L_WIN_BUILD_DEBUG} STREQUAL "ON") 
     
    8585endif(NOT DEFINED Jar2Lib_DEPS_SRC) 
    8686 
    87 if(NOT DEFINED J2L_BUILD_TYPE) 
    88   set(J2L_BUILD_TYPE "") 
    89 endif(NOT DEFINED J2L_BUILD_TYPE) 
    90  
    9187if(NOT DEFINED J2L_LIB_PREFIX) 
    9288  set(J2L_LIB_PREFIX lib) 
     
    9591# Set the appropriate file extension for libraries on each system 
    9692if(APPLE) 
     93 if(NOT DEFINED J2L_BUILD_TYPE) 
     94   set(J2L_BUILD_TYPE "") 
     95 endif(NOT DEFINED J2L_BUILD_TYPE) 
     96 
    9797 if(NOT DEFINED J2L_SUFFIX) 
    9898   set(J2L_SUFFIX .dylib) 
     
    110110 
    111111if(UNIX) 
     112 if(NOT DEFINED J2L_BUILD_TYPE) 
     113   set(J2L_BUILD_TYPE "") 
     114 endif(NOT DEFINED J2L_BUILD_TYPE) 
     115 
    112116 if(NOT DEFINED J2L_SUFFIX) 
    113117 
Note: See TracChangeset for help on using the changeset viewer.