Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (25 sloc) 830 Bytes
# This file wraps the CMake build system for FMI Library, and is used by
# Jenkins to build some predetermined configurations, do testing as a separate
# stage, and build the documentation.
include $(CONFIG_FILE)
.PHONY: install test documentation generate clean
install: generate
cd $(BUILD_DIR) && \
cmake --build . --config MinSizeRel --target '$@'
test: generate
cd $(BUILD_DIR) && \
ctest -C MinSizeRel
documentation: generate
cd $(BUILD_DIR) && \
make doc
mkdir $(BUILD_DIR) || true
cd $(BUILD_DIR) && \
rm -rf -v build-* install-*
You can’t perform that action at this time.