Changeset 17714b8 in opengl-game
- Timestamp:
- Aug 29, 2019, 7:52:09 PM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 850e84c
- Parents:
- 8a40f4b
- git-author:
- Dmitry Portnoy <dmp1488@…> (08/29/19 04:32:59)
- git-committer:
- Dmitry Portnoy <dmitry.portnoy@…> (08/29/19 19:52:09)
- Files:
-
- 1 added
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
README.txt
r8a40f4b r17714b8 85 85 Download the vulkan sdk (make sure VULKAN_SDK_PATH in the makefile points to it) 86 86 87 sudo apt-get install libxcb1-dev xorg-dev lib sdl2-dev libglm-dev87 sudo apt-get install libxcb1-dev xorg-dev libglm-dev libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev 88 88 89 89 source setup-env.sh into your current shell -
makefile
r8a40f4b r17714b8 47 47 endif 48 48 ifeq ($(OS),Linux) 49 LIBS := -lvulkan $(LIBS) 49 LIBS = `pkg-config --static --libs sdl2 glfw3` 50 LIBS := -lvulkan $(LIBS) -lSDL2_image -lSDL2_ttf # TODO: figure out how to statically link these, ideally using pkg-config 50 51 endif 51 52 52 53 LIB_FLAGS = $(LIB_PATHS) $(LIBS) 54 55 vulkanref: vulkan-ref.cpp game-gui-sdl.cpp game-gui-glfw.cpp 56 $(CC) $(CXX_FLAGS) -o $@ $^ $(LIB_FLAGS) 53 57 54 58 vulkangame: vulkan-game.cpp game-gui-sdl.cpp game-gui-glfw.cpp … … 61 65 clean: 62 66 rm -f newgame 67 rm -f vulkanref 63 68 rm -f vulkangame 64 69 rm -f shaders/*.spv
Note:
See TracChangeset
for help on using the changeset viewer.