fallout2-ce/CMakeLists.txt

243 lines
5.1 KiB
CMake
Raw Normal View History

2022-05-19 08:51:26 +00:00
cmake_minimum_required(VERSION 3.13)
2022-05-19 09:41:33 +00:00
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
2022-05-21 15:22:03 +00:00
project(fallout2-ce LANGUAGES CXX)
2022-05-19 08:51:26 +00:00
add_executable(fallout2-ce WIN32
2022-05-21 15:22:03 +00:00
"src/actions.cc"
2022-05-19 08:51:26 +00:00
"src/actions.h"
2022-05-21 15:22:03 +00:00
"src/animation.cc"
2022-05-19 08:51:26 +00:00
"src/animation.h"
2022-05-21 15:22:03 +00:00
"src/args.cc"
2022-05-19 08:51:26 +00:00
"src/args.h"
2022-05-21 15:22:03 +00:00
"src/art.cc"
2022-05-19 08:51:26 +00:00
"src/art.h"
2022-05-21 15:22:03 +00:00
"src/audio_file.cc"
2022-05-19 08:51:26 +00:00
"src/audio_file.h"
2022-05-21 15:22:03 +00:00
"src/audio.cc"
2022-05-19 08:51:26 +00:00
"src/audio.h"
2022-05-21 15:22:03 +00:00
"src/automap.cc"
2022-05-19 08:51:26 +00:00
"src/automap.h"
2022-05-21 15:22:03 +00:00
"src/autorun.cc"
2022-05-19 08:51:26 +00:00
"src/autorun.h"
2022-05-21 15:22:03 +00:00
"src/cache.cc"
2022-05-19 08:51:26 +00:00
"src/cache.h"
2022-05-21 15:22:03 +00:00
"src/character_editor.cc"
2022-05-19 08:51:26 +00:00
"src/character_editor.h"
2022-05-21 15:22:03 +00:00
"src/character_selector.cc"
2022-05-19 08:51:26 +00:00
"src/character_selector.h"
2022-05-21 15:22:03 +00:00
"src/color.cc"
2022-05-19 08:51:26 +00:00
"src/color.h"
"src/combat_ai_defs.h"
2022-05-21 15:22:03 +00:00
"src/combat_ai.cc"
2022-05-19 08:51:26 +00:00
"src/combat_ai.h"
"src/combat_defs.h"
2022-05-21 15:22:03 +00:00
"src/combat.cc"
2022-05-19 08:51:26 +00:00
"src/combat.h"
2022-05-21 15:22:03 +00:00
"src/config.cc"
2022-05-19 08:51:26 +00:00
"src/config.h"
2022-05-21 15:22:03 +00:00
"src/core.cc"
2022-05-19 08:51:26 +00:00
"src/core.h"
2022-05-21 15:22:03 +00:00
"src/credits.cc"
2022-05-19 08:51:26 +00:00
"src/credits.h"
2022-05-21 15:22:03 +00:00
"src/critter.cc"
2022-05-19 08:51:26 +00:00
"src/critter.h"
2022-05-21 15:22:03 +00:00
"src/cycle.cc"
2022-05-19 08:51:26 +00:00
"src/cycle.h"
2022-05-21 15:22:03 +00:00
"src/datafile.cc"
2022-05-19 08:51:26 +00:00
"src/datafile.h"
2022-05-21 15:22:03 +00:00
"src/db.cc"
2022-05-19 08:51:26 +00:00
"src/db.h"
2022-05-21 15:22:03 +00:00
"src/dbox.cc"
2022-05-19 08:51:26 +00:00
"src/dbox.h"
2022-05-21 15:22:03 +00:00
"src/debug.cc"
2022-05-19 08:51:26 +00:00
"src/debug.h"
2022-05-21 15:22:03 +00:00
"src/dfile.cc"
2022-05-19 08:51:26 +00:00
"src/dfile.h"
2022-05-21 15:22:03 +00:00
"src/dialog.cc"
2022-05-19 08:51:26 +00:00
"src/dialog.h"
2022-05-21 15:22:03 +00:00
"src/dictionary.cc"
2022-05-19 08:51:26 +00:00
"src/dictionary.h"
2022-05-21 15:22:03 +00:00
"src/dinput.cc"
2022-05-19 08:51:26 +00:00
"src/dinput.h"
2022-05-21 15:22:03 +00:00
"src/display_monitor.cc"
2022-05-19 08:51:26 +00:00
"src/display_monitor.h"
2022-05-21 15:22:03 +00:00
"src/draw.cc"
2022-05-19 08:51:26 +00:00
"src/draw.h"
2022-05-21 15:22:03 +00:00
"src/electronic_registration.cc"
2022-05-19 08:51:26 +00:00
"src/electronic_registration.h"
2022-05-21 15:22:03 +00:00
"src/elevator.cc"
2022-05-19 08:51:26 +00:00
"src/elevator.h"
2022-05-21 15:22:03 +00:00
"src/endgame.cc"
2022-05-19 08:51:26 +00:00
"src/endgame.h"
2022-05-21 15:22:03 +00:00
"src/export.cc"
2022-05-19 08:51:26 +00:00
"src/export.h"
2022-05-21 15:22:03 +00:00
"src/file_find.cc"
2022-05-19 08:51:26 +00:00
"src/file_find.h"
2022-05-21 15:22:03 +00:00
"src/file_utils.cc"
2022-05-19 08:51:26 +00:00
"src/file_utils.h"
2022-05-21 15:22:03 +00:00
"src/font_manager.cc"
2022-05-19 08:51:26 +00:00
"src/font_manager.h"
2022-05-21 15:22:03 +00:00
"src/game_config.cc"
2022-05-19 08:51:26 +00:00
"src/game_config.h"
2022-05-21 15:22:03 +00:00
"src/game_dialog.cc"
2022-05-19 08:51:26 +00:00
"src/game_dialog.h"
2022-05-21 15:22:03 +00:00
"src/game_memory.cc"
2022-05-19 08:51:26 +00:00
"src/game_memory.h"
2022-05-21 15:22:03 +00:00
"src/game_mouse.cc"
2022-05-19 08:51:26 +00:00
"src/game_mouse.h"
2022-05-21 15:22:03 +00:00
"src/game_movie.cc"
2022-05-19 08:51:26 +00:00
"src/game_movie.h"
2022-05-21 15:22:03 +00:00
"src/game_palette.cc"
2022-05-19 08:51:26 +00:00
"src/game_palette.h"
2022-05-21 15:22:03 +00:00
"src/game_sound.cc"
2022-05-19 08:51:26 +00:00
"src/game_sound.h"
"src/game_vars.h"
2022-05-21 15:22:03 +00:00
"src/game.cc"
2022-05-19 08:51:26 +00:00
"src/game.h"
2022-05-21 15:22:03 +00:00
"src/geometry.cc"
2022-05-19 08:51:26 +00:00
"src/geometry.h"
2022-05-21 15:22:03 +00:00
"src/graph_lib.cc"
2022-05-19 08:51:26 +00:00
"src/graph_lib.h"
2022-05-21 15:22:03 +00:00
"src/grayscale.cc"
2022-05-19 08:51:26 +00:00
"src/grayscale.h"
2022-05-21 15:22:03 +00:00
"src/heap.cc"
2022-05-19 08:51:26 +00:00
"src/heap.h"
2022-05-21 15:22:03 +00:00
"src/interface.cc"
2022-05-19 08:51:26 +00:00
"src/interface.h"
2022-05-21 15:22:03 +00:00
"src/interpreter_extra.cc"
2022-05-19 08:51:26 +00:00
"src/interpreter_extra.h"
2022-05-21 15:22:03 +00:00
"src/interpreter_lib.cc"
2022-05-19 08:51:26 +00:00
"src/interpreter_lib.h"
2022-05-21 15:22:03 +00:00
"src/interpreter.cc"
2022-05-19 08:51:26 +00:00
"src/interpreter.h"
2022-05-21 15:22:03 +00:00
"src/inventory.cc"
2022-05-19 08:51:26 +00:00
"src/inventory.h"
2022-05-21 15:22:03 +00:00
"src/item.cc"
2022-05-19 08:51:26 +00:00
"src/item.h"
2022-05-21 15:22:03 +00:00
"src/light.cc"
2022-05-19 08:51:26 +00:00
"src/light.h"
2022-05-21 15:22:03 +00:00
"src/lips.cc"
2022-05-19 08:51:26 +00:00
"src/lips.h"
2022-05-21 15:22:03 +00:00
"src/loadsave.cc"
2022-05-19 08:51:26 +00:00
"src/loadsave.h"
2022-05-21 15:22:03 +00:00
"src/main.cc"
2022-05-19 08:51:26 +00:00
"src/main.h"
"src/map_defs.h"
2022-05-21 15:22:03 +00:00
"src/map.cc"
2022-05-19 08:51:26 +00:00
"src/map.h"
"src/memory_defs.h"
2022-05-21 15:22:03 +00:00
"src/memory_manager.cc"
2022-05-19 08:51:26 +00:00
"src/memory_manager.h"
2022-05-21 15:22:03 +00:00
"src/memory.cc"
2022-05-19 08:51:26 +00:00
"src/memory.h"
2022-05-21 15:22:03 +00:00
"src/message.cc"
2022-05-19 08:51:26 +00:00
"src/message.h"
2022-05-21 15:22:03 +00:00
"src/mmx.cc"
2022-05-19 08:51:26 +00:00
"src/mmx.h"
2022-05-21 15:22:03 +00:00
"src/mouse_manager.cc"
2022-05-19 08:51:26 +00:00
"src/mouse_manager.h"
2022-05-21 15:22:03 +00:00
"src/movie_effect.cc"
2022-05-19 08:51:26 +00:00
"src/movie_effect.h"
2022-05-21 15:22:03 +00:00
"src/movie_lib.cc"
2022-05-19 08:51:26 +00:00
"src/movie_lib.h"
2022-05-21 15:22:03 +00:00
"src/movie.cc"
2022-05-19 08:51:26 +00:00
"src/movie.h"
2022-05-21 15:22:03 +00:00
"src/nevs.cc"
2022-05-19 08:51:26 +00:00
"src/nevs.h"
"src/obj_types.h"
2022-05-21 15:22:03 +00:00
"src/object.cc"
2022-05-19 08:51:26 +00:00
"src/object.h"
2022-05-21 15:22:03 +00:00
"src/options.cc"
2022-05-19 08:51:26 +00:00
"src/options.h"
2022-05-21 15:22:03 +00:00
"src/palette.cc"
2022-05-19 08:51:26 +00:00
"src/palette.h"
2022-05-21 15:22:03 +00:00
"src/party_member.cc"
2022-05-19 08:51:26 +00:00
"src/party_member.h"
"src/perk_defs.h"
2022-05-21 15:22:03 +00:00
"src/perk.cc"
2022-05-19 08:51:26 +00:00
"src/perk.h"
2022-05-21 15:22:03 +00:00
"src/pipboy.cc"
2022-05-19 08:51:26 +00:00
"src/pipboy.h"
2022-05-21 15:22:03 +00:00
"src/proto_instance.cc"
2022-05-19 08:51:26 +00:00
"src/proto_instance.h"
"src/proto_types.h"
2022-05-21 15:22:03 +00:00
"src/proto.cc"
2022-05-19 08:51:26 +00:00
"src/proto.h"
2022-05-21 15:22:03 +00:00
"src/queue.cc"
2022-05-19 08:51:26 +00:00
"src/queue.h"
2022-05-21 15:22:03 +00:00
"src/random.cc"
2022-05-19 08:51:26 +00:00
"src/random.h"
2022-05-21 15:22:03 +00:00
"src/reaction.cc"
2022-05-19 08:51:26 +00:00
"src/reaction.h"
2022-05-21 15:22:03 +00:00
"src/region.cc"
2022-05-19 08:51:26 +00:00
"src/region.h"
2022-05-21 15:22:03 +00:00
"src/scripts.cc"
2022-05-19 08:51:26 +00:00
"src/scripts.h"
2022-05-21 15:22:03 +00:00
"src/select_file_list.cc"
2022-05-19 08:51:26 +00:00
"src/select_file_list.h"
2022-05-21 15:22:03 +00:00
"src/selfrun.cc"
2022-05-19 08:51:26 +00:00
"src/selfrun.h"
"src/skill_defs.h"
2022-05-21 15:22:03 +00:00
"src/skill.cc"
2022-05-19 08:51:26 +00:00
"src/skill.h"
2022-05-21 15:22:03 +00:00
"src/skilldex.cc"
2022-05-19 08:51:26 +00:00
"src/skilldex.h"
2022-05-21 15:22:03 +00:00
"src/sound_decoder.cc"
2022-05-19 08:51:26 +00:00
"src/sound_decoder.h"
2022-05-21 15:22:03 +00:00
"src/sound_effects_cache.cc"
2022-05-19 08:51:26 +00:00
"src/sound_effects_cache.h"
2022-05-21 15:22:03 +00:00
"src/sound_effects_list.cc"
2022-05-19 08:51:26 +00:00
"src/sound_effects_list.h"
2022-05-21 15:22:03 +00:00
"src/sound.cc"
2022-05-19 08:51:26 +00:00
"src/sound.h"
"src/stat_defs.h"
2022-05-21 15:22:03 +00:00
"src/stat.cc"
2022-05-19 08:51:26 +00:00
"src/stat.h"
2022-05-21 15:22:03 +00:00
"src/string_parsers.cc"
2022-05-19 08:51:26 +00:00
"src/string_parsers.h"
2022-05-21 15:22:03 +00:00
"src/text_font.cc"
2022-05-19 08:51:26 +00:00
"src/text_font.h"
2022-05-21 15:22:03 +00:00
"src/text_object.cc"
2022-05-19 08:51:26 +00:00
"src/text_object.h"
2022-05-21 15:22:03 +00:00
"src/tile.cc"
2022-05-19 08:51:26 +00:00
"src/tile.h"
"src/trait_defs.h"
2022-05-21 15:22:03 +00:00
"src/trait.cc"
2022-05-19 08:51:26 +00:00
"src/trait.h"
2022-05-21 15:22:03 +00:00
"src/trap.cc"
2022-05-19 08:51:26 +00:00
"src/trap.h"
2022-05-21 15:22:03 +00:00
"src/version.cc"
2022-05-19 08:51:26 +00:00
"src/version.h"
2022-05-21 15:22:03 +00:00
"src/widget.cc"
2022-05-19 08:51:26 +00:00
"src/widget.h"
2022-05-21 15:22:03 +00:00
"src/win32.cc"
2022-05-19 08:51:26 +00:00
"src/win32.h"
2022-05-21 15:22:03 +00:00
"src/window_manager_private.cc"
2022-05-19 08:51:26 +00:00
"src/window_manager_private.h"
2022-05-21 15:22:03 +00:00
"src/window_manager.cc"
2022-05-19 08:51:26 +00:00
"src/window_manager.h"
2022-05-21 15:22:03 +00:00
"src/window.cc"
2022-05-19 08:51:26 +00:00
"src/window.h"
2022-05-21 15:22:03 +00:00
"src/word_wrap.cc"
2022-05-19 08:51:26 +00:00
"src/word_wrap.h"
2022-05-21 15:22:03 +00:00
"src/world_map.cc"
2022-05-19 08:51:26 +00:00
"src/world_map.h"
2022-05-21 15:22:03 +00:00
"src/xfile.cc"
2022-05-19 08:51:26 +00:00
"src/xfile.h"
)
target_compile_definitions(fallout2-ce PUBLIC
_CRT_SECURE_NO_WARNINGS
_CRT_NONSTDC_NO_WARNINGS
)
target_link_libraries(fallout2-ce
winmm
)
add_subdirectory("third_party/fpattern")
add_subdirectory("third_party/zlib")
2022-05-19 09:41:33 +00:00
add_subdirectory("third_party/sdl2")