Browse Source

Update CMakeLists.txt.

visitors
Night Owl 8 years ago
parent
commit
dbb14ed124
  1. 2
      cl_dll/CMakeLists.txt
  2. 2
      cl_dll/in_camera.cpp
  3. 5
      dlls/CMakeLists.txt

2
cl_dll/CMakeLists.txt

@ -29,6 +29,8 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-write-strings -DLINUX -D_LINUX -Dstricm
set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS}") set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS}")
set (CLDLL_SOURCES set (CLDLL_SOURCES
../dlls/visitors/pipe.cpp
../dlls/visitors/sniper.cpp
../dlls/crossbow.cpp ../dlls/crossbow.cpp
../dlls/crowbar.cpp ../dlls/crowbar.cpp
../dlls/egon.cpp ../dlls/egon.cpp

2
cl_dll/in_camera.cpp

@ -400,7 +400,7 @@ void DLLEXPORT CAM_Think( void )
if( cam_deathcam_enabled ) if( cam_deathcam_enabled )
{ {
// Store new values. // Store new values.
camAngles[PITCH} = 90; camAngles[PITCH] = 90;
camAngles[YAW] = cam_deathcam_yaw; camAngles[YAW] = cam_deathcam_yaw;
camAngles[ROLL] = 0; camAngles[ROLL] = 0;

5
dlls/CMakeLists.txt

@ -129,6 +129,11 @@ set (SVDLL_SOURCES
../pm_shared/pm_debug.c ../pm_shared/pm_debug.c
../pm_shared/pm_math.c ../pm_shared/pm_math.c
../pm_shared/pm_shared.c ../pm_shared/pm_shared.c
visitors/flashlight.cpp
visitors/kevlar.cpp
visitors/massn.cpp
visitors/pipe.cpp
visitors/sniper.cpp
) )
include_directories (. wpn_shared ../common ../engine ../pm_shared ../game_shared ../public) include_directories (. wpn_shared ../common ../engine ../pm_shared ../game_shared ../public)

Loading…
Cancel
Save