add test/Function to build proress
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@651 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
a6b4587301
commit
28ac0a23b2
4 changed files with 9 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
||||||
BIN = FunctionTest$(BIN_SUFFIX)
|
BIN = FunctionTest$(BIN_SUFFIX)
|
||||||
SRC = FunctionTest.cpp
|
SRC = FunctionTest.cpp
|
||||||
OBJ = $(SRC:.cpp=.o)
|
OBJ = $(SRC:.cpp=.o)
|
||||||
override LDLIBS += -lboost_test_exec_monitor
|
|
||||||
|
|
||||||
.PHONY: all clean
|
.PHONY: all clean
|
||||||
all: $(BIN)
|
all: $(BIN)
|
||||||
|
|
5
test/Function/make.msvc.bat
Executable file
5
test/Function/make.msvc.bat
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
cl -c -Zm200 -O2 -DNDEBUG -MT -EHsc -GR -W0 -wd4710 -I"." -I"..\..\include" FunctionTest.cpp
|
||||||
|
|
||||||
|
link /NOLOGO /SUBSYSTEM:CONSOLE /incremental:no /OUT:"main-msvc.exe" ..\..\lib\loki.lib FunctionTest.obj
|
||||||
|
|
||||||
|
del *.obj
|
|
@ -9,7 +9,6 @@ export BIN_SUFFIX =
|
||||||
endif
|
endif
|
||||||
|
|
||||||
SUBTARGETS_ORIG := $(patsubst %/,%,$(dir $(wildcard */Makefile)))
|
SUBTARGETS_ORIG := $(patsubst %/,%,$(dir $(wildcard */Makefile)))
|
||||||
SUBTARGETS_FILTER_OUT = Function
|
|
||||||
SUBTARGETS := $(filter-out $(SUBTARGETS_FILTER_OUT),$(SUBTARGETS_ORIG))
|
SUBTARGETS := $(filter-out $(SUBTARGETS_FILTER_OUT),$(SUBTARGETS_ORIG))
|
||||||
|
|
||||||
SUBTARGETS_CLEAN := $(addsuffix -clean,$(SUBTARGETS))
|
SUBTARGETS_CLEAN := $(addsuffix -clean,$(SUBTARGETS))
|
||||||
|
|
|
@ -7,6 +7,10 @@ cd Factory
|
||||||
call make.msvc.bat
|
call make.msvc.bat
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
cd Function
|
||||||
|
call make.msvc.bat
|
||||||
|
cd ..
|
||||||
|
|
||||||
cd Longevity
|
cd Longevity
|
||||||
call make.msvc.bat
|
call make.msvc.bat
|
||||||
cd ..
|
cd ..
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue