i dont like cmake
This commit is contained in:
parent
d24dce7ffe
commit
11ef7f988d
@ -1,6 +0,0 @@
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
find_program(CMAKE_C_COMPILER NAMES $ENV{CC} gcc PATHS ENV PATH NO_DEFAULT_PATH)
|
||||
find_program(CMAKE_CXX_COMPILER NAMES $ENV{CXX} g++ PATHS ENV PATH NO_DEFAULT_PATH)
|
||||
project(owo)
|
||||
add_executable(owo src/main.cpp)
|
||||
target_link_libraries(owo)
|
3
PKGBUILD
3
PKGBUILD
@ -12,8 +12,7 @@ md5sums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/term-owo-cpp"
|
||||
cmake . -B build
|
||||
cd build && make
|
||||
make dirs build_unix
|
||||
}
|
||||
|
||||
package() {
|
||||
|
7
makefile
7
makefile
@ -29,6 +29,11 @@ make_deb:
|
||||
mv build/owo_deb.deb build/owo.deb
|
||||
rm -rf build/owo_deb
|
||||
|
||||
build_all: build_unix build_win make_deb
|
||||
make_arch:
|
||||
mkdir build/owo_arch
|
||||
cp PKGBUILD build/owo_arch
|
||||
makepkg -D build/owo_arch
|
||||
|
||||
build_all: build_unix build_win make_deb make_arch
|
||||
|
||||
.PHONY: all dirs clean build_all build_unix build_win
|
Loading…
Reference in New Issue
Block a user