First commit
This commit is contained in:
commit
3b8e4ed9c9
1169 files changed
+411320
No files matched your search
Executable
+57
@@ -0,0 +1,57 @@
|
||||
OUT= testSqPlus2unit
|
||||
|
||||
all: $(OUT)
|
||||
|
||||
SQUIRREL= ..
|
||||
|
||||
CXX = g++
|
||||
CXXFLAGS= -g -O0 -fno-rtti -Wall
|
||||
INCDIRS= -I$(SQUIRREL)/include -I. -I$(SQUIRREL)/sqlibs -I$(SQUIRREL)/sqplus \
|
||||
-I$(UNITTEST)/src
|
||||
LIBDIR= -L$(SQUIRREL)/lib -L$(UNITTEST)
|
||||
LIBS= -lsqplus -lsquirrel -lsqstdlib -lUnitTest++
|
||||
|
||||
UNITTEST=UnitTest++
|
||||
|
||||
.SUFFIXES: .o .cpp
|
||||
|
||||
SRCS= \
|
||||
main.cpp \
|
||||
globals.cpp \
|
||||
test_Array.cpp \
|
||||
test_ClassInstance.cpp \
|
||||
test_CppScriptVar.cpp \
|
||||
test_FunctionOverloading.cpp \
|
||||
test_GlobalFunctionBindings.cpp \
|
||||
test_GlobalAsMember.cpp \
|
||||
test_Instance.cpp \
|
||||
test_MultipleVMs.cpp \
|
||||
test_MemberVariableTypes.cpp \
|
||||
test_Namespace.cpp \
|
||||
test_ObjectGetSet.cpp \
|
||||
test_PassByReference.cpp \
|
||||
test_PointfBoxf.cpp \
|
||||
test_PointerToDerived.cpp \
|
||||
test_PureVirtualInterface.cpp \
|
||||
test_ScriptingTypeName.cpp \
|
||||
test_Scripts.cpp \
|
||||
test_SimpleVariable.cpp \
|
||||
test_SmartPointer.cpp \
|
||||
test_StringConv.cpp \
|
||||
test_SQ_STD_String.cpp \
|
||||
test_STD_String.cpp \
|
||||
test_Table.cpp \
|
||||
test_TypeSafe.cpp \
|
||||
testEnv.cpp
|
||||
|
||||
|
||||
|
||||
OBJS = $(patsubst %.cpp, %.o, $(SRCS))
|
||||
|
||||
|
||||
.cpp.o:
|
||||
$(CXX) $(INCDIRS) $(CXXFLAGS) -c $<
|
||||
|
||||
testSqPlus2unit: $(OBJS)
|
||||
cd $(UNITTEST) && make
|
||||
$(CXX) $(CXXFLAGS) -o $(OUT) $(OBJS) $(LIBDIR) $(LIBS)
|
||||
Reference in new issue
Block a user