mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
541c2f2d99
* This allows qrenderdoc to link properly when opened directly in qtcreator, as otherwise it doesn't know where to link to the generated librenderdoc.so somewhere in CMake's build directory
14 lines
237 B
Makefile
14 lines
237 B
Makefile
SRC_DIR := $(shell pwd)
|
|
DST_DIR := $(SRC_DIR)/build
|
|
CMAKE_PARAMS :=
|
|
|
|
.PHONY: all clean
|
|
|
|
all: renderdoc
|
|
@mkdir -p "$(DST_DIR)" && cd "$(DST_DIR)" && \
|
|
cmake $(CMAKE_PARAMS) "$(SRC_DIR)" && \
|
|
$(MAKE)
|
|
|
|
clean:
|
|
@rm -rf "$(DST_DIR)" bin
|