Import Geant4 10.6.0 source tree
This commit is contained in:
@@ -19,8 +19,7 @@ set_target_properties(${_TARGET} PROPERTIES OUTPUT_NAME "test09")
|
||||
set_target_properties(${_TARGET} PROPERTIES SUFFIX ".so")
|
||||
|
||||
|
||||
target_link_libraries (${_TARGET} boost_python ${PYTHON_LIBRARIES})
|
||||
target_link_libraries (${_TARGET} ${BOOST_PYTHON_LIB} ${PYTHON_LIBRARIES})
|
||||
|
||||
# install
|
||||
install(TARGETS ${_TARGET} LIBRARY DESTINATION ${TEST_MODULES_INSTALL_DIR})
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ public:
|
||||
|
||||
AClass operator+(const AClass& aclass) {
|
||||
AClass atemp;
|
||||
atemp.ival= ival + aclass.ival;
|
||||
atemp.ival= ival + aclass.ival;
|
||||
return atemp;
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
G4bool operator==(const AClass& aclass) const {
|
||||
bool operator==(const AClass& aclass) const {
|
||||
if(ival == aclass.ival) return true;
|
||||
return false;
|
||||
}
|
||||
@@ -84,4 +84,3 @@ BOOST_PYTHON_MODULE(test09)
|
||||
.def(self_ns::str(self))
|
||||
;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user