22 lines
449 B
Makefile
22 lines
449 B
Makefile
all: build run
|
|
|
|
build:
|
|
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
|
|
cmake --build build
|
|
|
|
conan-install:
|
|
conan install . --output-folder=build --build=missing
|
|
|
|
conan-build: conan-install
|
|
cmake -S . -B build/ -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release
|
|
cmake --build build
|
|
|
|
run:
|
|
./build/dnapp -i ./data/sample.fa
|
|
|
|
test:
|
|
cmake -S . -B build
|
|
cmake --build build
|
|
cd build && ctest --output-on-failure
|
|
|
|
.PHONY: build |