mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 08:10:05 +00:00
Additional project fixes for Conan 2.0 on Linux
This commit is contained in:
parent
84bbfe4413
commit
07cac3a03f
3 changed files with 33 additions and 0 deletions
10
conanfile.py
10
conanfile.py
|
|
@ -1,4 +1,5 @@
|
|||
from conan import ConanFile
|
||||
from conan.tools.cmake import CMake
|
||||
from conan.tools.files import copy
|
||||
|
||||
class SupercellWxConan(ConanFile):
|
||||
|
|
@ -35,3 +36,12 @@ class SupercellWxConan(ConanFile):
|
|||
if dep.cpp_info.libdirs:
|
||||
copy(self, "*.dll", dep.cpp_info.libdirs[0], self.build_folder)
|
||||
copy(self, "*.dylib", dep.cpp_info.libdirs[0], self.build_folder)
|
||||
|
||||
def build(self):
|
||||
cmake = CMake(self)
|
||||
cmake.configure()
|
||||
cmake.build()
|
||||
|
||||
def package(self):
|
||||
cmake = CMake(self)
|
||||
cmake.install()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue