kopia lustrzana https://github.com/stlink-org/stlink
Removed unused build target
rodzic
d5fcfced68
commit
e93c51691e
10
Makefile
10
Makefile
|
@ -11,7 +11,6 @@ ci: debug release binary test
|
|||
help:
|
||||
@echo " debug: Run a debug build"
|
||||
@echo " release: Run a release build"
|
||||
@echo " binary: Build Windows-Binary"
|
||||
@echo " install: Install release build"
|
||||
@echo " package: Package release build"
|
||||
@echo " lint: Lint check all source-code"
|
||||
|
@ -22,7 +21,6 @@ help:
|
|||
rebuild_cache: build/Debug build/Release
|
||||
@$(MAKE) -C build/Debug rebuild_cache
|
||||
@$(MAKE) -C build/Release rebuild_cache
|
||||
@$(MAKE) -C build/Binary rebuild_cache
|
||||
|
||||
debug: build/Debug
|
||||
@echo "[DEBUG]"
|
||||
|
@ -32,10 +30,6 @@ release: build/Release
|
|||
@echo "[RELEASE]"
|
||||
@$(MAKE) -C build/Release
|
||||
|
||||
binary: build/Binary
|
||||
@echo "[BINARY]"
|
||||
@$(MAKE) -C build/Binary
|
||||
|
||||
install: build/Release
|
||||
@echo "[INSTALL] Release"
|
||||
@$(MAKE) -C build/Release install
|
||||
|
@ -55,10 +49,6 @@ build/Release:
|
|||
@mkdir -p $@
|
||||
@cd $@ && cmake -Wno-dev -DCMAKE_BUILD_TYPE=Release $(CMAKEFLAGS) ../../
|
||||
|
||||
build/Binary:
|
||||
@mkdir -p $@
|
||||
@cd $@ && cmake -Wno-dev -DCMAKE_BUILD_TYPE=Binary $(CMAKEFLAGS) ../../
|
||||
|
||||
clean:
|
||||
@echo "[CLEAN]"
|
||||
@rm -Rf build
|
||||
|
|
|
@ -41,9 +41,7 @@ elseif (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") # FreeBSD; libusb is integrated
|
|||
message(FATAL_ERROR "Expected libusb library not found on your system! Verify your system integrity.")
|
||||
endif ()
|
||||
|
||||
elseif (WIN32 OR (EXISTS "/etc/debian_version" AND ${CMAKE_BUILD_TYPE} MATCHES "Binary"))
|
||||
# Windows & Windows-Binary-Build on Debian/Ubuntu
|
||||
|
||||
elseif (WIN32) # Windows
|
||||
# for MinGW/MSYS/MSVC: 64-bit or 32-bit?
|
||||
if (CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
set(ARCH 64)
|
||||
|
|
Ładowanie…
Reference in New Issue