Changeset 7743 for trunk/projects/jar2lib
- Timestamp:
- 08/31/11 10:34:02 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/projects/jar2lib/src/main/resources/CMakeLists.vm
r7733 r7743 332 332 333 333 # ---HACK--- install(TARGETS ...) destroys linking on Linux but allows portability on OSX 334 if(UNIX) 334 335 if(APPLE) 336 # install targets 337 install(TARGETS 338 jtools 339 ${projectId} 340 #foreach ($sourceFile in $sourceFiles) 341 #set ($execName = $q.simpleName($sourceFile)) 342 ${execName} 343 #end##foreach $sourceFile 344 RUNTIME DESTINATION . 345 LIBRARY DESTINATION . 346 ARCHIVE DESTINATION . 347 ) 348 elseif(WIN32 OR WIN64) 349 # install targets 350 install(TARGETS 351 jtools 352 ${projectId} 353 #foreach ($sourceFile in $sourceFiles) 354 #set ($execName = $q.simpleName($sourceFile)) 355 ${execName} 356 #end##foreach $sourceFile 357 RUNTIME DESTINATION . 358 LIBRARY DESTINATION . 359 ARCHIVE DESTINATION . 360 ) 361 else(APPLE) 335 362 install(FILES 336 363 "${CMAKE_BINARY_DIR}/${Jar2Lib_DIST_DIR}/${J2L_LIB_PREFIX}jtools${J2L_SUFFIX}" … … 347 374 ) 348 375 #end##foreach $sourceFile 349 endif(UNIX)350 351 if(APPLE)352 # install targets353 install(TARGETS354 jtools355 ${projectId}356 #foreach ($sourceFile in $sourceFiles)357 #set ($execName = $q.simpleName($sourceFile))358 ${execName}359 #end##foreach $sourceFile360 RUNTIME DESTINATION .361 LIBRARY DESTINATION .362 ARCHIVE DESTINATION .363 )364 376 endif(APPLE) 365 377 366 if(WIN32)367 # install targets368 install(TARGETS369 jtools370 ${projectId}371 #foreach ($sourceFile in $sourceFiles)372 #set ($execName = $q.simpleName($sourceFile))373 ${execName}374 #end##foreach $sourceFile375 RUNTIME DESTINATION .376 LIBRARY DESTINATION .377 ARCHIVE DESTINATION .378 )379 endif(WIN32)380 378 381 379 SET(CPACK_PACKAGE_FILE_NAME "${projectId}")
Note: See TracChangeset
for help on using the changeset viewer.