O01eg {l Wrote}:There is a http://mypy-lang.org/ type checker. It looks like TypeScript but doesn't recompile python code, because python already supports type annotations.
from conans import ConanFile, CMake
class ftzEngineConan(ConanFile):
name = "ftzEngine"
version = "Latest"
license = "GNU AGPLv3+"
url = "https://ftz.lyberta.net/projects/engine/"
description = "An experimental 2D game engine"
settings = "cppstd", "os", "compiler", "build_type", "arch"
requires = "ftzGeneral/Latest@Lyberta/Latest", "ftzPlatform/Latest@Lyberta/Latest", "ftzSerialization/Latest@Lyberta/Latest", "ftzConsole/Latest@Lyberta/Latest", "ftzUnicode/Latest@Lyberta/Latest", "ftzNetworking/Latest@Lyberta/Latest"
build_requires = "ftzGeneral/Latest@Lyberta/Latest", "ftzPlatform/Latest@Lyberta/Latest", "ftzSerialization/Latest@Lyberta/Latest", "ftzConsole/Latest@Lyberta/Latest", "ftzUnicode/Latest@Lyberta/Latest", "ftzNetworking/Latest@Lyberta/Latest"
generators = "cmake"
exports_sources = "Src/Engine/*", "CMakeLists.txt"
def build(self):
cmake = CMake(self)
cmake.configure(source_dir = self.source_folder)
cmake.build()
def package(self):
self.copy("*.h", dst="Include", src="Src/Engine/Include")
self.copy("*.hpp", dst="Include", src="Src/Engine/Include")
self.copy("Lib/libftzengine.so", dst="lib", keep_path=False)
def package_info(self):
self.cpp_info.includedirs = ["Include"]
self.cpp_info.libs = ["ftzengine"]
Users browsing this forum: Google [Bot] and 1 guest