2021-03-28 00:25:30 -05:00
|
|
|
from conans import ConanFile, CMake
|
|
|
|
|
|
|
|
class NostalgiaConan(ConanFile):
|
2021-04-28 22:27:33 -05:00
|
|
|
settings = 'os', 'compiler', 'build_type', 'arch'
|
2022-03-11 22:30:59 -06:00
|
|
|
requires = 'imgui/1.86'
|
2021-04-28 22:27:33 -05:00
|
|
|
generators = 'cmake', 'cmake_find_package', 'cmake_paths'
|
|
|
|
default_options = {
|
|
|
|
}
|
2021-05-16 13:04:32 -05:00
|
|
|
|
|
|
|
def imports(self):
|
2022-01-30 02:27:26 -06:00
|
|
|
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')
|