mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
first bits of a dynamc lib
This commit is contained in:
parent
8576e7ffa7
commit
33f5f056b1
13 changed files with 6942 additions and 1 deletions
19
binding-tests/Makefile
Normal file
19
binding-tests/Makefile
Normal file
|
@ -0,0 +1,19 @@
|
|||
CXX=g++
|
||||
INC=-I ../lib
|
||||
LIB=-L ../target/debug
|
||||
RPATH=-Wl,-rpath,../target/debug
|
||||
|
||||
TESTS = uuid.cpp
|
||||
|
||||
.PHONY: all test
|
||||
|
||||
all: test
|
||||
|
||||
test: doctest
|
||||
@./doctest --no-version --no-intro
|
||||
|
||||
%.o: %.cpp ../lib/taskchampion.h
|
||||
$(CXX) $(INC) -c $< -o $@
|
||||
|
||||
doctest: doctest.o $(subst .cpp,.o,$(TESTS))
|
||||
$(CXX) $(LIB) $(RPATH) $< $(subst .cpp,.o,$(TESTS)) -ltaskchampion -o $@
|
Loading…
Add table
Add a link
Reference in a new issue