Skip to content

Commit

Permalink
Merge pull request #3 from gitoleg/few-build-features
Browse files Browse the repository at this point in the history
few minor build issues
  • Loading branch information
ccasin authored Oct 17, 2018
2 parents b42baa2 + 744ca7c commit 662f637
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion explicit_edge/_oasis
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
OASISFormat: 0.4
OcamlVersion: >= 4.04.1
OcamlVersion: >= 4.03.0
Name: cbat-explicit-edge
Version: 0.0.1
Synopsis: A library and plugin for BAP to perform value-set analysis on
Expand Down
7 changes: 5 additions & 2 deletions value_set/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ build: setup.ml setup.data
doc: setup.ml setup.data build
$(SETUP) -doc $(DOCFLAGS)

test: setup.ml setup.data build
test: setup-tests build
$(SETUP) -test $(TESTFLAGS)


Expand All @@ -31,6 +31,9 @@ clean: setup.ml
distclean: setup.ml
$(SETUP) -distclean $(DISTCLEANFLAGS)

setup-tests: setup.ml
$(SETUP) -configure --enable-tests $(CONFIGUREFLAGS)

setup.data: setup.ml
$(SETUP) -configure $(CONFIGUREFLAGS)

Expand All @@ -40,7 +43,7 @@ configure: setup.ml
setup.ml:
oasis setup

.PHONY: build doc test all install uninstall reinstall clean distclean configure plugin
.PHONY: build doc test all install uninstall reinstall clean distclean configure plugin setup-tests

OCI=ocp-indent

Expand Down
5 changes: 4 additions & 1 deletion value_set/_oasis
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
OASISFormat: 0.4
OcamlVersion: >= 4.04.1
OcamlVersion: >= 4.03.0
Name: cbat-value-set
Version: 0.0.1
Synopsis: A library and plugin for BAP to perform value-set analysis on
Expand Down Expand Up @@ -44,6 +44,7 @@ Library "cbat-plugin-value-set"

Library test-suite
Path: unit-tests/
Build$: flag(tests)
BuildTools: ocamlbuild
BuildDepends: bap (>= 1.5.0), core_kernel, cbat-value-set, oUnit (>= 2.0.0)
Install: false
Expand All @@ -55,6 +56,7 @@ Library test-suite

Executable test
Path: unit-tests/
Build$: flag(tests)
BuildTools: ocamlbuild
MainIs: test.ml
BuildDepends: bap (>= 1.5.0), core_kernel, cbat-value-set, test-suite
Expand All @@ -63,4 +65,5 @@ Executable test

Test unit_tests
TestTools: test
Run$: flag(tests)
Command: $test -display true

0 comments on commit 662f637

Please sign in to comment.