std::string command;
-#ifdef __APPLE__
- command = "source ~/.bashrc ; " + command;
-#endif
+//#ifdef __APPLE__
+// command = "source ~/.bashrc ; " + command;
+//#endif
#if defined(WIN32)
command = "\"";
#endif
+ command = "source ~/.bashrc_CreaTools ; " + command;
command += ConfigurationFile::GetInstance().Get_bin_path();
command += ConfigurationFile::GetInstance().Get_file_separator();
command += "bbRegeneratePackageDoc";
command = "";
-#ifdef __APPLE__
- command = "source ~/.bashrc ; " + command;
-#endif
+//#ifdef __APPLE__
+// command = "source ~/.bashrc ; " + command;
+//#endif
#if defined(WIN32)
command = "\"";
#endif
+ command = "source ~/.bashrc_CreaTools ; " + command;
command += ConfigurationFile::GetInstance().Get_bin_path();
command += ConfigurationFile::GetInstance().Get_file_separator();
command += "bbRegenerateBoxesLists";
#!/bin/bash
# compiles bbs files
-source ~/.bashrc
+source ~/.bashrc_CreaTools
if [ $# -lt 1 ]
then
ADD_CUSTOM_COMMAND(
OUTPUT ${BBFY_CXX_OUT}
COMMAND
- export LD_LIBRARY_PATH=${LD_LIBRARY_PATH} && echo $ENV{LD_LIBRARY_PATH} && source ~/.bashrc && ${BBTK_BBFY} ${xmlfile} ${BBTK_PACKAGE_NAME} ${CMAKE_CURRENT_BINARY_DIR}/ -q
+ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH} && echo $ENV{LD_LIBRARY_PATH} && source ~/.bashrc_CreaTools && ${BBTK_BBFY} ${xmlfile} ${BBTK_PACKAGE_NAME} ${CMAKE_CURRENT_BINARY_DIR}/ -q
DEPENDS ${xmlfile}
${BBTK_BBFY_DEPENDENCY}
)
ELSE(WIN32)
SET(LD_LIBRARY_PATH "$ENV{LD_LIBRARY_PATH}:${LIBRARY_OUTPUT_PATH}")
ADD_CUSTOM_TARGET( bb${BBTK_PACKAGE_NAME}.bbp ALL
- COMMAND source ~/.bashrc && ${BBTK_BBPCONFIGURATOR} ${CMAKE_CURRENT_SOURCE_DIR}/../bbs/boxes/ ${BBTK_PACKAGE_NAME} ${BBTK_BBS_BUILD_PATH}/
+ COMMAND source ~/.bashrc_CreaTools && ${BBTK_BBPCONFIGURATOR} ${CMAKE_CURRENT_SOURCE_DIR}/../bbs/boxes/ ${BBTK_PACKAGE_NAME} ${BBTK_BBS_BUILD_PATH}/
)
add_dependencies( bb${BBTK_PACKAGE_NAME}.bbp bbpConfigurator )
ENDIF(WIN32)
otherwise package documentation will not be generated. \\
-Then update your environment variable LD\_LIBRARY\_PATH (in .bashrc if
+Then update your environment variable LD\_LIBRARY\_PATH (in .bashrc_CreaTools if
you are using bash), to add the path to the shared library
\texttt{libbb\emph{YourNewPackageName}.so}
#ifdef __APPLE__
- ccommand = "source ~/.bashrc ; " + ccommand;
+ ccommand = "source ~/.bashrc_CreaTools ; " + ccommand;
#endif
if (bbGetInputVerbose()==true)
// (the one provided in the attribute 'name' of the tag 'input')
// * TYPE is the C++ type of the input/output
// (the one provided in the attribute 'type' of the tag 'input')
+
if ( (bbGetInputSource()==NULL) || (bbGetInputInput()==NULL) )
{
- bbSetOutputOut( NULL );
+ bbSetOutputOut( NULL );
} else {
//EED 2017-01-01 Migration VTK7
bbSetOutputOut( _probefilter->GetOutput() );
} // if source input
}
-//=====
+
+//=====
// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
//=====
void ProbeFilter::bbUserSetDefaultValues()
// bbSetInputSource(NULL);
// bbSetOutputOut(NULL);
}
-//=====
+
+//=====
// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
//=====
void ProbeFilter::bbUserInitializeProcessing()
{
-
// THE INITIALIZATION METHOD BODY :
// Here does nothing
// but this is where you should allocate the internal/output pointers
-// if any
-
+// if any
_probefilter = vtkProbeFilter::New();
-
-
}
-//=====
+
+//=====
// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
//=====
void ProbeFilter::bbUserFinalizeProcessing()
{
-
// THE FINALIZATION METHOD BODY :
// Here does nothing
// but this is where you should desallocate the internal/output pointers
// if any
-
_probefilter->Delete();
-
-}
}
-// EO namespace bbvtk
+
+}// EO namespace bbvtk