Subversion Repositories seema-scanner

Rev

Rev 194 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 194 Rev 209
Line 48... Line 48...
48
srcFilesProjector = strcat(srcDirProjector, srcFilesProjector);
48
srcFilesProjector = strcat(srcDirProjector, srcFilesProjector);
49
srcFilesProjector = ['ProjectorMex.cpp' srcFilesProjector];
49
srcFilesProjector = ['ProjectorMex.cpp' srcFilesProjector];
50
 
50
 
51
mex('-v', ['-I' srcDirProjector], srcFilesProjector{:}, CXXFLAGS, LDFLAGS);
51
mex('-v', ['-I' srcDirProjector], srcFilesProjector{:}, CXXFLAGS, LDFLAGS);
52
 
52
 
53
 
-
 
54
%% Rotation Stage
53
%% Rotation Stage
55
srcDirRotationStage = '../src/rotationstage/';
54
srcDirRotationStage = '../src/rotationstage/';
56
srcFilesRotationStage = {'RotationStage.cpp'};
55
srcFilesRotationStage = {'RotationStage.cpp'};
57
if ismac
56
if ismac
58
    CFLAGS = 'CFLAGS=$CFLAGS';
57
    CFLAGS = 'CFLAGS=$CFLAGS';
Line 69... Line 68...
69
 
68
 
70
srcFilesRotationStage = strcat(srcDirRotationStage, srcFilesRotationStage);
69
srcFilesRotationStage = strcat(srcDirRotationStage, srcFilesRotationStage);
71
srcFilesRotationStage = ['RotationStageMex.cpp' srcFilesRotationStage];
70
srcFilesRotationStage = ['RotationStageMex.cpp' srcFilesRotationStage];
72
 
71
 
73
% C file needs own call to gcc (c99, not ansi)
72
% C file needs own call to gcc (c99, not ansi)
74
%mex('-v', 'GCC=/usr/bin/g++-4.7', '-c', ['-I' srcDirRotationStage], [srcDirRotationStage 'ArcusPerformaxDriver.c'], CFLAGS);
-
 
75
mex('-v', '-c', ['-I' srcDirRotationStage], [srcDirRotationStage 'ArcusPerformaxDriver.c'], CFLAGS);
73
mex('-v', '-c', ['-I' srcDirRotationStage], [srcDirRotationStage 'ArcusPerformaxDriver.c'], CFLAGS);
76
% C++ files will be compiled with g++
74
% C++ files will be compiled with g++
77
mex('-v', ['-I' srcDirRotationStage], srcFilesRotationStage{:}, 'ArcusPerformaxDriver.o', CXXFLAGS, LINKLIBS);
75
mex('-v', ['-I' srcDirRotationStage], srcFilesRotationStage{:}, 'ArcusPerformaxDriver.o', CXXFLAGS, LINKLIBS);
78
 
76
 
79
 
77