nostalgia/conanfile.py

16 lines
765 B
Python

from conans import ConanFile, CMake
class NostalgiaConan(ConanFile):
settings = 'os', 'compiler', 'build_type', 'arch'
requires = 'jsoncpp/1.9.4', 'imgui/1.86'
generators = 'cmake', 'cmake_find_package', 'cmake_paths'
default_options = {
}
def imports(self):
self.copy('imgui_impl_glfw.cpp', dst='../deps/imgui/src', src='./res/bindings')
self.copy('imgui_impl_opengl3.cpp', dst='../deps/imgui/src', src='./res/bindings')
self.copy('imgui_impl_glfw.h', dst='../deps/imgui/src', src='./res/bindings')
self.copy('imgui_impl_opengl3.h', dst='../deps/imgui/src', src='./res/bindings')
self.copy('imgui_impl_opengl3_loader.h', dst='../deps/imgui/src', src='./res/bindings')