@ONLY
)
IF (WIN32)
- INSTALL ( FILES ${${BBTK_PACKAGE_NAME}_BINARY_DIR}/bbtkPackage
- DESTINATION "." )
+ CONFIGURE_FILE(
+ ${BBTK_CMAKE_DIR}/PlugPackage.bat.in
+ ${${BBTK_PACKAGE_NAME}_BINARY_DIR}/PlugPackage.bat
+ COPYONLY
+ )
+ INSTALL ( FILES ${${BBTK_PACKAGE_NAME}_BINARY_DIR}/bbtkPackage DESTINATION "." )
+ INSTALL ( FILES ${${BBTK_PACKAGE_NAME}_BINARY_DIR}/PlugPackage.bat DESTINATION "." )
ENDIF (WIN32)
#---------------------------------------------------------------------------
ELSE(NOT BBTK_CORE_PACKAGE)
@ONLY
)
IF (WIN32)
- INSTALL ( FILES ${${BBTK_PACKAGE_NAME}_BINARY_DIR}/bbtkPackage
- DESTINATION "." )
+ CONFIGURE_FILE(
+ ${BBTK_CMAKE_DIR}/PlugPackage.bat.in
+ ${${BBTK_PACKAGE_NAME}_BINARY_DIR}/PlugPackage.bat
+ COPYONLY
+ )
+ INSTALL ( FILES ${${BBTK_PACKAGE_NAME}_BINARY_DIR}/bbtkPackage DESTINATION "." )
+ INSTALL ( FILES ${${BBTK_PACKAGE_NAME}_BINARY_DIR}/PlugPackage.bat DESTINATION "." )
ENDIF (WIN32)
#---------------------------------------------------------------------------
ELSE(NOT BBTK_CORE_PACKAGE)
--- /dev/null
+bbPlugPackage %~dp0
+pause
\ No newline at end of file