fucking conan
This commit is contained in:
parent
a05035089a
commit
2461420f15
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,4 +1 @@
|
||||
conan.lock
|
||||
conanbuild*
|
||||
conaninfo.txt
|
||||
graph_info.json
|
||||
make-libs-list
|
||||
|
7
Makefile
7
Makefile
@ -1,5 +1,3 @@
|
||||
include conanbuildinfo.mak
|
||||
|
||||
CC = clang
|
||||
CFLAGS = -O2
|
||||
LIBS = -lcjson
|
||||
@ -7,10 +5,7 @@ LIBS = -lcjson
|
||||
all: make-libs-list
|
||||
|
||||
make-libs-list:
|
||||
$(CC) $(CFLAGS) make-libs-list.c \
|
||||
$(LIBS) -I$(CONAN_INCLUDE_DIRS_CJSON) -L$(CONAN_LIB_DIRS_CJSON) \
|
||||
-o $@
|
||||
$(CC) $(CFLAGS) make-libs-list.c $(LIBS) -o $@
|
||||
|
||||
clean:
|
||||
rm make-libs-list
|
||||
rm conanbuild* conaninfo.txt graph_info.json
|
||||
|
14
conanfile.py
14
conanfile.py
@ -1,14 +0,0 @@
|
||||
from conans import ConanFile, MSBuild
|
||||
|
||||
class ExampleConan(ConanFile):
|
||||
name = "make-libs-list"
|
||||
version = "1.0.1"
|
||||
settings = "os", "arch", "build_type", "compiler"
|
||||
options = {"shared": [True, False], "st": [True, False]}
|
||||
default_options = {"shared": False, "st": False}
|
||||
exports = "*"
|
||||
_msvc_archs = {"x86": "x86", "x86_64": "x64"}
|
||||
|
||||
def build(self):
|
||||
msbuild = MSBuild(self)
|
||||
msbuild.build("make-libs-list.vcxproj")
|
@ -1,5 +0,0 @@
|
||||
[requires]
|
||||
cjson/1.7.15
|
||||
|
||||
[generators]
|
||||
make
|
Loading…
Reference in New Issue
Block a user