libsuperderpy/src/CMakeLists.txt

18 lines
539 B
CMake
Raw Normal View History

2012-08-19 03:04:55 +02:00
SET(SRC_LIST
2016-07-02 23:23:08 +02:00
utils.c
config.c
timeline.c
gamestate.c
2016-07-03 00:43:32 +02:00
libsuperderpy.c
2016-07-04 00:56:45 +02:00
character.c
internal.c
2016-07-02 23:23:08 +02:00
)
2016-06-27 21:20:02 +02:00
2016-07-02 23:23:08 +02:00
add_library("libsuperderpy" SHARED ${SRC_LIST})
2016-07-02 23:23:08 +02:00
SET_TARGET_PROPERTIES("libsuperderpy" PROPERTIES PREFIX "")
2012-08-19 03:04:55 +02:00
2016-07-03 20:34:31 +02:00
target_link_libraries("libsuperderpy" ${ALLEGRO5_LIBRARIES} ${ALLEGRO5_FONT_LIBRARIES} ${ALLEGRO5_TTF_LIBRARIES} ${ALLEGRO5_PRIMITIVES_LIBRARIES} ${ALLEGRO5_AUDIO_LIBRARIES} ${ALLEGRO5_ACODEC_LIBRARIES} ${ALLEGRO5_IMAGE_LIBRARIES} m dl)
2016-07-02 23:23:08 +02:00
install(TARGETS "libsuperderpy" DESTINATION ${LIB_INSTALL_DIR})