From 0ce81427151e89f583c2e47a81fbeb25b3983d6e Mon Sep 17 00:00:00 2001 From: Andrey Akhmichin <15944199+nekonomicon@users.noreply.github.com> Date: Mon, 6 Mar 2023 20:26:08 +0500 Subject: [PATCH] Update CMakeLists.txt. --- CMakeLists.txt | 4 ++-- dlls/CMakeLists.txt | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 86d0a981..cc8b1446 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,11 +70,11 @@ option(WEAPONS_ANIMATION_TIMES_FIX "Enable animation times fix for some weapons" option(OEM_BUILD "Enable OEM Build" OFF) option(HLDEMO_BUILD "Enable Demo Build" OFF) -set(GAMEDIR "valve" CACHE STRING "Gamedir path") +set(GAMEDIR "clcampaign" CACHE STRING "Gamedir path") set(SERVER_INSTALL_DIR "dlls" CACHE STRING "Where put server dll") set(CLIENT_INSTALL_DIR "cl_dlls" CACHE STRING "Where put client dll") set(SERVER_LIBRARY_NAME "hl" CACHE STRING "Library name for PC platforms") -message(STATUS "Half-Life") +message(STATUS "Crack-Life: Campaign Mode") #----------------- # MAIN BUILD CODE \ diff --git a/dlls/CMakeLists.txt b/dlls/CMakeLists.txt index 7e5378e1..e43431bb 100644 --- a/dlls/CMakeLists.txt +++ b/dlls/CMakeLists.txt @@ -135,6 +135,25 @@ set (SVDLL_SOURCES world.cpp xen.cpp zombie.cpp + clcampaign/bigsmoke.cpp + clcampaign/bonewheel.cpp + clcampaign/evilsci.cpp + clcampaign/hammer.cpp + clcampaign/katana.cpp + clcampaign/mariozombie.cpp + clcampaign/megachav.cpp + clcampaign/needle.cpp + clcampaign/pepsigun.cpp + clcampaign/pink_panthera.cpp + clcampaign/rock.cpp + clcampaign/sawnoff.cpp + clcampaign/shrek.cpp + clcampaign/skeleton.cpp + clcampaign/skrillex.cpp + clcampaign/sniper.cpp + clcampaign/superchav.cpp + clcampaign/terror.cpp + clcampaign/zombozo.cpp ../pm_shared/pm_debug.c ../pm_shared/pm_math.c ../pm_shared/pm_shared.c