| 123456789101112131415161718192021222324252627 |
- set(GAME_NAME sample-lua)
- set(GAME_SRC
- src/LuaGame.cpp
- src/LuaGame.h
- )
- add_executable(${GAME_NAME}
- ${GAME_SRC}
- )
- target_link_libraries(${GAME_NAME} ${GAMEPLAY_LIBRARIES})
- set_target_properties(${GAME_NAME} PROPERTIES
- OUTPUT_NAME "${GAME_NAME}"
- CLEAN_DIRECT_OUTPUT 1
- )
- source_group(res FILES ${GAME_RES} ${GAMEPLAY_RES} ${GAMEPLAY_RES_SHADERS} ${GAMEPLAY_RES_UI})
- source_group(src FILES ${GAME_SRC})
- COPY_RES( ${GAME_NAME} )
- COPY_RES_EXTRA( ${GAME_NAME} ${CMAKE_SOURCE_DIR}/gameplay
- res/logo_powered_white.png
- res/shaders/*
- res/ui/*
- )
|