mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-01 08:54:29 +00:00
Update some CMakeLists used by projects other than PPSSPP
This commit is contained in:
parent
a02668cf8a
commit
64614c954f
@ -2,9 +2,6 @@ cmake_minimum_required(VERSION 2.6)
|
||||
|
||||
#if(UNIX)
|
||||
add_definitions(-fPIC)
|
||||
add_definitions(-g)
|
||||
add_definitions(-O2)
|
||||
add_definitions(-Wall)
|
||||
#endif(UNIX)
|
||||
|
||||
add_library(stb_image stb_image.c)
|
||||
|
@ -1,7 +1,9 @@
|
||||
set(SRCS
|
||||
draw_buffer.cpp
|
||||
draw_text.cpp
|
||||
fbo.cpp
|
||||
glsl_program.cpp
|
||||
gpu_features.cpp
|
||||
gl_state.cpp
|
||||
vertex_format.cpp)
|
||||
|
||||
|
13
input/CMakeLists.txt
Normal file
13
input/CMakeLists.txt
Normal file
@ -0,0 +1,13 @@
|
||||
set(SRCS
|
||||
input_state.cpp
|
||||
gesture_detector.cpp)
|
||||
|
||||
set(SRCS ${SRCS})
|
||||
|
||||
add_library(input STATIC ${SRCS})
|
||||
target_link_libraries(input general gfx)
|
||||
target_link_libraries(input general file)
|
||||
|
||||
if(UNIX)
|
||||
add_definitions(-fPIC)
|
||||
endif(UNIX)
|
@ -1,6 +1,8 @@
|
||||
set(SRCS
|
||||
ui.cpp
|
||||
ui_context.cpp
|
||||
view.cpp
|
||||
viewgroup.cpp
|
||||
screen.cpp
|
||||
virtual_input.cpp
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user