refactoring : added src and shader folders
This commit is contained in:
parent
ed0cf67819
commit
2760f0c38f
@ -12,22 +12,22 @@ else(WIN32)
|
||||
endif(WIN32)
|
||||
|
||||
set(LIB_SRC_LIST
|
||||
framebuffer.cpp
|
||||
meshbuilder.cpp
|
||||
phongentity.cpp
|
||||
phongmaterial.cpp
|
||||
crappymodule.cpp
|
||||
shader.cpp
|
||||
skyboxmodule.cpp
|
||||
sparrowrenderer.cpp
|
||||
parametricmesh.cpp
|
||||
texture.cpp
|
||||
scene.cpp
|
||||
deferredmodule.cpp
|
||||
forwardmodule.cpp
|
||||
shadersource.cpp
|
||||
light.cpp
|
||||
posteffectmodule.cpp
|
||||
src/framebuffer.cpp
|
||||
src/meshbuilder.cpp
|
||||
src/phongentity.cpp
|
||||
src/phongmaterial.cpp
|
||||
src/crappymodule.cpp
|
||||
src/shader.cpp
|
||||
src/skyboxmodule.cpp
|
||||
src/sparrowrenderer.cpp
|
||||
src/parametricmesh.cpp
|
||||
src/texture.cpp
|
||||
src/scene.cpp
|
||||
src/deferredmodule.cpp
|
||||
src/forwardmodule.cpp
|
||||
src/shadersource.cpp
|
||||
src/light.cpp
|
||||
src/posteffectmodule.cpp
|
||||
)
|
||||
|
||||
set(LIBRARY_NAME ${PROJECT_NAME})
|
||||
@ -43,7 +43,7 @@ if(CMAKE_BUILD_TYPE MATCHES "Debug")
|
||||
set(CPP_DEFINES -DRENDER_DEBUG)
|
||||
endif()
|
||||
|
||||
file(GLOB LIBRARY_RES_FILES *.h *.glsl)
|
||||
file(GLOB LIBRARY_RES_FILES *.h shaders/*.glsl)
|
||||
|
||||
add_library(${LIBRARY_NAME} STATIC ${LIB_SRC_LIST} ${LIBRARY_RES_FILES})
|
||||
add_definitions(-std=c++11 ${CPP_DEFINES})
|
||||
|
Loading…
x
Reference in New Issue
Block a user