Jump to content

  • Log In with Google      Sign In   
  • Create Account

Christofer Padilla

Member Since 16 Jan 2012
Offline Last Active Jul 29 2012 12:17 PM

Topics I've Started

CMake assets

24 July 2012 - 12:09 PM

I'm working on a game using the SDL library and I'm trying to load an image to display on the screen. Since I started using cmake to build my project, I can't get the image to load. I think this is a problem with the assets folder/images not being included with the project when it gets built. How should my CMake look if I wanted to include an assets folder with a game project so it can be loaded locally, ex: load_image("spritesheet.bmp")?

PARTNERS