fucking conan

This commit is contained in:
Alexander Popov 2023-06-14 23:50:46 +03:00
parent a05035089a
commit 2461420f15
Signed by: iiiypuk
GPG Key ID: E47FE0AB36CD5ED6
4 changed files with 2 additions and 29 deletions

5
.gitignore vendored
View File

@ -1,4 +1 @@
conan.lock
conanbuild*
conaninfo.txt
graph_info.json
make-libs-list

View File

@ -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

View File

@ -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")

View File

@ -1,5 +0,0 @@
[requires]
cjson/1.7.15
[generators]
make