nostalgia/conanfile.py

15 lines
663 B
Python
Raw Normal View History

2021-03-28 00:25:30 -05:00
from conans import ConanFile, CMake
class NostalgiaConan(ConanFile):
settings = 'os', 'compiler', 'build_type', 'arch'
2021-05-16 13:04:32 -05:00
requires = 'jsoncpp/1.9.4', 'glfw/3.3.4', 'imgui/1.82'
generators = 'cmake', 'cmake_find_package', 'cmake_paths'
default_options = {
}
2021-05-16 13:04:32 -05:00
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')