Skip to content

Commit

Permalink
refs #3641 fix cmake error
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed Oct 24, 2011
2 parents 775f90e + e8eebf7 commit 2dc29d9
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 183 deletions.
4 changes: 3 additions & 1 deletion Code/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# Make sure Third_Party doesn't get checked into the main repository
Third_Party/
Third_Party/
# For an out-of-source build: make sure it doesn't get checked in either.
dbg/
4 changes: 3 additions & 1 deletion Code/Mantid/Build/cmakelists_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ def find_basedir(project, subproject):
"""
header_folder = "Mantid" + subproject
if project == "MantidQt": header_folder = "MantidQt" + subproject
basedir = os.path.join(os.path.curdir, project, subproject)
scriptdir = os.path.split(__file__)[0] #Folder of Code/Build
codedir = os.path.split(scriptdir)[0] #Folder of Code/
basedir = os.path.join(codedir, project, subproject)
return (basedir, header_folder)


Expand Down
6 changes: 5 additions & 1 deletion Code/Mantid/Build/delete_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#======================================================================
def delete_one(oldfilename):
cmd = "svn remove " + oldfilename
cmd = "git rm " + oldfilename
print "Running:", cmd
os.system(cmd)

Expand Down Expand Up @@ -65,6 +65,10 @@ def delete_all(subproject, classname, args):
const=False, default=True,
help="Don't delete the cpp file")

parser.add_argument('--project', dest='project',
default="Framework",
help='The project in which this goes. Default: Framework. Can be MantidQt, Vates')

args = parser.parse_args()
subproject = args.subproject
classname = args.classname
Expand Down
2 changes: 1 addition & 1 deletion Code/Mantid/Build/move_class.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def move_one(subproject, classname, newproject, newclassname, oldfilename, newfi
"""Move one file """

# Do an SVN move
cmd = "svn mv " + oldfilename + " " + newfilename
cmd = "git mv " + oldfilename + " " + newfilename
print "Running:", cmd
os.system(cmd)

Expand Down
3 changes: 0 additions & 3 deletions Code/Mantid/Framework/Algorithms/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ set ( SRC_FILES
src/DiffractionFocussing2.cpp
src/Divide.cpp
src/DspacemaptoCal.cpp
src/Dummy.cpp
src/EQSANSResolution.cpp
src/EQSANSTofStructure.cpp
src/EditTOFPowderDiffractomerGeometry.cpp
Expand Down Expand Up @@ -224,7 +223,6 @@ set ( INC_FILES
inc/MantidAlgorithms/DiffractionFocussing2.h
inc/MantidAlgorithms/Divide.h
inc/MantidAlgorithms/DspacemaptoCal.h
inc/MantidAlgorithms/Dummy.h
inc/MantidAlgorithms/EQSANSResolution.h
inc/MantidAlgorithms/EQSANSTofStructure.h
inc/MantidAlgorithms/EditTOFPowderDiffractomerGeometry.h
Expand Down Expand Up @@ -391,7 +389,6 @@ set ( TEST_FILES
test/DiffractionFocussingTest.h
test/DivideTest.h
test/DspacemaptoCalTest.h
test/DummyTest.h
test/EditTOFPowderDiffractomerGeometryTest.h
test/ExponentialCorrectionTest.h
test/ExponentialTest.h
Expand Down
69 changes: 0 additions & 69 deletions Code/Mantid/Framework/Algorithms/inc/MantidAlgorithms/Dummy.h

This file was deleted.

73 changes: 0 additions & 73 deletions Code/Mantid/Framework/Algorithms/src/Dummy.cpp

This file was deleted.

33 changes: 0 additions & 33 deletions Code/Mantid/Framework/Algorithms/test/DummyTest.h

This file was deleted.

2 changes: 1 addition & 1 deletion Code/Mantid/MantidQt/CustomInterfaces/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ set ( MOC_FILES inc/MantidQtCustomInterfaces/ApproachDialog.h
inc/MantidQtCustomInterfaces/SANSPlotSpecial.h
inc/MantidQtCustomInterfaces/SANSRunWindow.h
inc/MantidQtCustomInterfaces/SANSDiagnostics.h
#inc/MantidQtCustomInterfaces/StandardLogView.h
#inc/MantidQtCustomInterfaces/StandardLogView.h
)

set ( UI_FILES inc/MantidQtCustomInterfaces/ConvertToEnergy.ui
Expand Down
4 changes: 4 additions & 0 deletions Code/Mantid/scripts/Vates/Diffraction_Workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,7 @@
PeaksWorkspace=ws+'_peaks_predicted', OutputWorkspace=ws+'_peaks_predicted_integ')

BinToMDHistoWorkspace(InputWorkspace='TOPAZ_3131_HKL',AlignedDimX='H,-20,0,200',AlignedDimY='K,-5,15,200',AlignedDimZ='L,-5,15,200',OutputWorkspace='hkl')

BinToMDHistoWorkspace(InputWorkspace='TOPAZ_3131_HKL',AlignedDimX='H,-20,0,500',AlignedDimY='K,-5,15,500',AlignedDimZ='L,-5,15,100',OutputWorkspace='hkl_2')


0 comments on commit 2dc29d9

Please sign in to comment.