CMakeLists.txt
changeset 1044 c06cad5295c3
parent 1042 dc9291957a5a
child 1047 18ae36a7f55b
equal deleted inserted replaced
1042:dc9291957a5a 1044:c06cad5295c3
   482         SET(PERL_LIBPERL "-l${PERL_LIBPERL}")
   482         SET(PERL_LIBPERL "-l${PERL_LIBPERL}")
   483     ENDIF(MACOSX)
   483     ENDIF(MACOSX)
   484 
   484 
   485     CONFIGURE_SWIG_BINDING(Perl "${PERL_INSTALL_PATH}" "${SWIG_OUTPUT_DIR}/perl/physfs.pm" "\"-I${PERL_INCLUDE_PATH}/CORE\" ${PERL_CCFLAGS} -w" "\"-L${PERL_INCLUDE_PATH}/CORE\" ${PERL_LIBPERL} ${PERL_LDFLAGS}")
   485     CONFIGURE_SWIG_BINDING(Perl "${PERL_INSTALL_PATH}" "${SWIG_OUTPUT_DIR}/perl/physfs.pm" "\"-I${PERL_INCLUDE_PATH}/CORE\" ${PERL_CCFLAGS} -w" "\"-L${PERL_INCLUDE_PATH}/CORE\" ${PERL_LIBPERL} ${PERL_LDFLAGS}")
   486     INSTALL(FILES "${SWIG_OUTPUT_DIR}/perl/physfs.pm" DESTINATION "${PERL_INSTALL_PATH}")
   486     INSTALL(FILES "${SWIG_OUTPUT_DIR}/perl/physfs.pm" DESTINATION "${PERL_INSTALL_PATH}")
       
   487     INSTALL(
       
   488         FILES test/test_physfs.pl
       
   489         DESTINATION bin
       
   490         PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
       
   491                     GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
       
   492     )
   487 ENDIF(PHYSFS_BUILD_PERL)
   493 ENDIF(PHYSFS_BUILD_PERL)
   488 
   494 
   489 IF(PHYSFS_BUILD_RUBY)
   495 IF(PHYSFS_BUILD_RUBY)
   490     MESSAGE(STATUS "Ruby bindings aren't ready yet. Disabling.")
   496     MESSAGE(STATUS "Ruby bindings aren't ready yet. Disabling.")
   491     SET(PHYSFS_BUILD_RUBY FALSE)  # !!! FIXME: write me.
   497     SET(PHYSFS_BUILD_RUBY FALSE)  # !!! FIXME: write me.