Git Product home page Git Product logo

sdl2's Introduction

SDL2 built with Bazel

⚠️ This project is a work in progress ⚠️

Your experience may vary. Contributions are welcome!

Getting Started

Add bazelregistry/sdl2 repository to your bazel WORKSPACE

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "bazelregistry_sdl2",
    strip_prefix = "sdl2-c3efa24f546f0d8be97aaf1609688905e585cd69",
    urls = ["https://github.com/bazelregistry/sdl2/archive/c3efa24f546f0d8be97aaf1609688905e585cd69.zip"],
    sha256 = "735b86e808d78c3a6e7db86c4532140be4ad5d7349feea2dbfef7ea1382c31eb",
)

Use as a static library

cc_library(
    name = "example",
    srcs = "example.cc",
    deps = ["@bazelregistry_sdl2//:SDL2_lib"],
)

Use as a shared library

There are several targets for getting a shared library of SDL2

# macOS
@bazelregistry_sdl2//:SDL2_dylib
# Linux
@bazelregistry_sdl2//:libSDL2.so
# Windows
@bazelregistry_sdl2//::SDL2.dll

sdl2's People

Contributors

1bsyl avatar alfred-valve avatar baines avatar bavison avatar brandonschaefer avatar cacodemon345 avatar ccawley2011 avatar cgutman avatar christianrauch avatar daft-freak avatar davidludwig avatar dos1 avatar dreamlayers avatar erikyuzwa avatar ferzkopp avatar flibitijibibo avatar gabomdq avatar icculus avatar jimbly avatar joellinn avatar jorgenpt avatar kontrabant avatar kripken avatar philippwiesemann avatar sezero avatar slime73 avatar slouken avatar smcv avatar urkle avatar vanfanel avatar

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.