Giter Site home page Giter Site logo

criptych / physfs-old Goto Github PK

View Code? Open in Web Editor NEW
53.0 8.0 14.0 5.29 MB

UNOFFICIAL Git mirror of PhysicsFS Mercurial repository. The official repository has also moved to GitHub; this one will no longer be updated. Official website:

Home Page: https://icculus.org/physfs/

License: zlib License

CMake 1.21% C 95.56% Perl 0.88% Shell 0.78% C++ 0.97% Objective-C 0.59%
c-language filesystem virtual-file-system game-development

physfs-old's Introduction

PhysicsFS; a portable, flexible file i/o abstraction.

  https://icculus.org/physfs/

Please see the docs directory for documentation.

Please see LICENSE.txt for licensing information.

physfs-old's People

Contributors

ahnurmi avatar ahrnbom avatar akien-mga avatar frabert avatar hannahwhy avatar icculus avatar mattparks avatar megastep avatar mrwonko avatar readgs avatar slouken avatar vogon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

physfs-old's Issues

CMake target_include_directories

Hi, I had a problem linking against PhysFS while building it as an external project, along with all my stuff. Linking to a target in the same build tree did not provide the required interface headers along, so I added the following code to your main CMakeLists.txt

...
    add_library(physfs SHARED ${PHYSFS_SRCS})
#new code begins
    target_include_directories(physfs INTERFACE $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>) 
#new code ends
    set_target_properties(physfs PROPERTIES MACOSX_RPATH 1)
...

Now I can neatly just do:
target_link_libraries(MyLib PRIVATE physfs)
and bring all the required header locations along.

That might improve the build process a bit.

Wish you all the best!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.