Changeset bb5f9a8 in tol
- Timestamp:
- Mar 28, 2017, 8:21:33 AM (10 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- b09e2f4f
- Parents:
- 6b873c7
- Location:
- tol
- Files:
-
- 2 added
- 2 edited
-
CMakeLists.txt (modified) (4 diffs)
-
contrib/CMakeLists.txt (modified) (1 diff)
-
contrib/ZipArchive/CMakeLists.txt (added)
-
contrib/ZipArchive/ZipArchive_Bayes.tar.gz (added)
Legend:
- Unmodified
- Added
- Removed
-
tol/CMakeLists.txt
r6b873c7 rbb5f9a8 169 169 macro( create_header_links ) 170 170 if( WIN32 ) 171 set( cmd "copy" )171 set( _cmd "copy" ) 172 172 else( WIN32 ) 173 set( cmd "create_symlink" )173 set( _cmd "create_symlink" ) 174 174 endif( WIN32 ) 175 175 file( GLOB headers RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" *.h *.hpp ) … … 186 186 add_custom_command ( 187 187 OUTPUT ${destFile} 188 COMMAND "${CMAKE_COMMAND}" "-E" ${ cmd} ${srcFile} ${destFile}188 COMMAND "${CMAKE_COMMAND}" "-E" ${_cmd} ${srcFile} ${destFile} 189 189 DEPENDS ${srcFile} 190 190 COMMENT "Creating header ${destFile}" ) … … 364 364 365 365 # ZIPARCHIVE configuration 366 find_package( ZipArchive REQUIRED ) 367 if( ZIPARCHIVE_FOUND AND TRACE_COMPONENTS_FOUND ) 368 message( "ZIPARCHIVE_INCLUDE_DIR = ${ZIPARCHIVE_INCLUDE_DIR}" ) 369 message( "ZIPARCHIVE_LIBRARY = ${ZIPARCHIVE_LIBRARY}" ) 370 endif( ) 366 if(UNIX) 367 message(STATUS "On UNIX ZIPARCHIVE will be cmopiled as ExternalProject") 368 else(UNIX) 369 find_package( ZipArchive REQUIRED ) 370 if( ZIPARCHIVE_FOUND AND TRACE_COMPONENTS_FOUND ) 371 message( "ZIPARCHIVE_INCLUDE_DIR = ${ZIPARCHIVE_INCLUDE_DIR}" ) 372 message( "ZIPARCHIVE_LIBRARY = ${ZIPARCHIVE_LIBRARY}" ) 373 endif( ) 374 endif(UNIX) 371 375 372 376 # ZLIB configuration … … 412 416 413 417 foreach( d 414 bbasic bmath bparser btol dbdrivers contriblang LoadDynLib OIS418 contrib bbasic bmath bparser btol dbdrivers lang LoadDynLib OIS 415 419 PackArchive ) 416 add_subdirectory( ${d})420 add_subdirectory(${d}) 417 421 # get_property(type TARGET ${d} PROPERTY TYPE) 418 422 # message("type(${d}) = '${type}'") -
tol/contrib/CMakeLists.txt
r6b873c7 rbb5f9a8 7 7 add_subdirectory( cint ) 8 8 endif( ) 9 10 if(UNIX) 11 add_subdirectory(ZipArchive) 12 endif(UNIX)
Note: See TracChangeset
for help on using the changeset viewer.
