fucking conan
This commit is contained in:
parent
a05035089a
commit
2461420f15
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,4 +1 @@
|
|||||||
conan.lock
|
make-libs-list
|
||||||
conanbuild*
|
|
||||||
conaninfo.txt
|
|
||||||
graph_info.json
|
|
||||||
|
7
Makefile
7
Makefile
@ -1,5 +1,3 @@
|
|||||||
include conanbuildinfo.mak
|
|
||||||
|
|
||||||
CC = clang
|
CC = clang
|
||||||
CFLAGS = -O2
|
CFLAGS = -O2
|
||||||
LIBS = -lcjson
|
LIBS = -lcjson
|
||||||
@ -7,10 +5,7 @@ LIBS = -lcjson
|
|||||||
all: make-libs-list
|
all: make-libs-list
|
||||||
|
|
||||||
make-libs-list:
|
make-libs-list:
|
||||||
$(CC) $(CFLAGS) make-libs-list.c \
|
$(CC) $(CFLAGS) make-libs-list.c $(LIBS) -o $@
|
||||||
$(LIBS) -I$(CONAN_INCLUDE_DIRS_CJSON) -L$(CONAN_LIB_DIRS_CJSON) \
|
|
||||||
-o $@
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm make-libs-list
|
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