tests/Makefile

changeset 754
4bc7d966c9db
parent 753
24dc84788dee
child 756
0b635553b86a
equal deleted inserted replaced
753:24dc84788dee 754:4bc7d966c9db
21 # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 21 # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
22 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 23
24 include ../config.mk 24 include ../config.mk
25 25
26 TEST_DIR=$(BUILD_DIR)/tests 26 TEST_DIR=$(build_dir)/tests
27 27
28 all: $(TEST_DIR) $(BUILD_DIR)/libucx.a 28 all: $(TEST_DIR) $(build_dir)/libucx.a
29 cd $(TEST_DIR) && $(CMAKE) -DSTLIB_EXT="$(STLIB_EXT)" "$(src_dir)/tests" && $(CMAKE) --build . 29 cd $(TEST_DIR) && $(CMAKE) -DSTLIB_EXT="$(STLIB_EXT)" "$(src_dir)/tests" && $(CMAKE) --build .
30 @echo "[ Tests complete ]" 30 @echo "[ Tests complete ]"
31 31
32 # do not define libucx.a target - if it wasn't build, we simply fail! 32 # do not define libucx.a target - if it wasn't build, we simply fail!
33 33

mercurial