| 1 |
include_directories(${SDL2_INCLUDE_DIRS}) |
| 2 |
set(CDOGSED_SOURCES |
| 3 |
add_pickup_dialog.c |
| 4 |
campaign_options.c |
| 5 |
char_editor.c |
| 6 |
destroy_objective_dialog.c |
| 7 |
editor_brush.c |
| 8 |
editor_ui.c |
| 9 |
editor_ui_cave.c |
| 10 |
editor_ui_classic.c |
| 11 |
editor_ui_color.c |
| 12 |
editor_ui_common.c |
| 13 |
editor_ui_interior.c |
| 14 |
editor_ui_objectives.c |
| 15 |
editor_ui_static.c |
| 16 |
editor_ui_static_additem.c |
| 17 |
editor_ui_weapons.c |
| 18 |
exit_brush.c |
| 19 |
file_dialog.c |
| 20 |
mission_options.c |
| 21 |
nk_window.c |
| 22 |
pickup_objective_dialog.c |
| 23 |
tile_brush.c |
| 24 |
ui_object.c) |
| 25 |
set(CDOGSED_HEADERS |
| 26 |
add_pickup_dialog.h |
| 27 |
campaign_options.h |
| 28 |
char_editor.h |
| 29 |
destroy_objective_dialog.h |
| 30 |
editor_brush.h |
| 31 |
editor_ui.h |
| 32 |
editor_ui_cave.h |
| 33 |
editor_ui_classic.h |
| 34 |
editor_ui_color.h |
| 35 |
editor_ui_common.h |
| 36 |
editor_ui_interior.h |
| 37 |
editor_ui_objectives.h |
| 38 |
editor_ui_static.h |
| 39 |
editor_ui_static_additem.h |
| 40 |
editor_ui_weapons.h |
| 41 |
exit_brush.h |
| 42 |
file_dialog.h |
| 43 |
mission_options.h |
| 44 |
nk_window.h |
| 45 |
pickup_objective_dialog.h |
| 46 |
tile_brush.h |
| 47 |
ui_object.h) |
| 48 |
add_library(cdogsedlib STATIC ${CDOGSED_SOURCES} ${CDOGSED_HEADERS}) |
| 49 |
target_link_libraries(cdogsedlib SDL2::SDL2 SDL2_mixer::SDL2_mixer) |