mirror of
https://github.com/openXC7/prjxray.git
synced 2026-08-22 14:06:54 +02:00
tools: build with CMake
Building with CMake makes it a lot easier to bring in other libraries such as gflags and abseil. Signed-off-by: Rick Altherr <[email protected]> Signed-off-by: Tim 'mithro' Ansell <[email protected]>
This commit is contained in:
committed by
Tim 'mithro' Ansell
parent
c815d4b1a5
commit
fedf33b5ce
@@ -0,0 +1,2 @@
|
||||
add_executable(bitread bitread.cc)
|
||||
add_executable(segmatch segmatch.cc)
|
||||
@@ -1,17 +0,0 @@
|
||||
|
||||
# CXXFLAGS = -Wall -Wextra -O0 -ggdb
|
||||
CXXFLAGS = -Wall -Wextra -O3
|
||||
|
||||
all: bitread segmatch
|
||||
|
||||
bitread: bitread.cc
|
||||
clang $(CXXFLAGS) -std=c++11 -o $@ $< -lstdc++
|
||||
|
||||
segmatch: segmatch.cc
|
||||
clang $(CXXFLAGS) -std=c++11 -o $@ $< -lstdc++
|
||||
|
||||
clean:
|
||||
rm -f bitread segmatch
|
||||
|
||||
.PHONY: all clean
|
||||
|
||||
Reference in New Issue
Block a user