Skip to content
Snippets Groups Projects
Select Git revision
  • e54392b6b178fb9066c5a5b6ceb608a4ecf2aaa4
  • develop default protected
  • dev/5.3
3 results

WalkingTestProject.h

Blame
  • conanfile.py 2.12 KiB
    #-------------------------------------------------------------------------------
    # Project Phoenix
    #
    # Copyright (c) 2017 RWTH Aachen University, Germany,
    # Virtual Reality & Immersive Visualisation Group.
    #-------------------------------------------------------------------------------
    #                                  License
    #
    # Licensed under the Apache License, Version 2.0 (the "License");
    # you may not use this file except in compliance with the License.
    # You may obtain a copy of the License at
    #
    #     http://www.apache.org/licenses/LICENSE-2.0
    #
    # Unless required by applicable law or agreed to in writing, software
    # distributed under the License is distributed on an "AS IS" BASIS,
    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    #-------------------------------------------------------------------------------
    
    from conans import ConanFile, CMake
    
    class ProjectPhoenix(ConanFile):
        name = "phx"
        version = "17.09.0"
        license = "Apache License, Version 2.0"
        description = """Project Phoenix"""
        settings = "os", "compiler", "build_type", "arch"
        requires = (("glew/2.1.0@RWTH-VR/thirdparty"),
                    ("glm/0.9.8@g-truc/stable"),
                    ("catch/1.9.7@RWTH-VR/thirdparty"),
                    ("cpplint/9883c51@RWTH-VR/thirdparty"),
                    ("SDL2/2.0.5@RWTH-VR/thirdparty"),
                    ("trompeloeil/v25@rollbear/stable"),
    				("freeimage/3.17.0@RWTH-VR/thirdparty")			)  # comma separated list of requirements
        generators = "cmake"
    
    	
    	
        def configure(self):
           self.options["freeimage"].shared = True
    
        def imports(self):
           self.copy("*.dll", dst="bin", src="bin")
           self.copy("*.dll", dst="tests/Debug", src="bin")
           self.copy("*.dll", dst="demos/viewer/Debug", src="bin")
           self.copy("*.dll", dst="tests/Release", src="bin")
           self.copy("*.dll", dst="demos/viewer/Release", src="bin")
           self.copy("*.so.*", dst="tests", src="lib")
           self.copy("*.so", dst="tests", src="lib")
           self.copy("*.so.2.1", dst="tests", src="lib")