- fixed bad endif() placing in CMake projects

This commit is contained in:
Christoph Oelckers 2019-10-17 08:44:01 +02:00
parent 452cfe385e
commit 6d7458fe42
5 changed files with 5 additions and 7 deletions

1
.gitignore vendored
View file

@ -63,3 +63,4 @@ project.xcworkspace/
build-vs2019/
/source/gitinfo.h
/build2

View file

@ -34,7 +34,7 @@ if (WIN32)
set( PLAT_SOURCES
src/startwin.game.cpp
)
endif()
set( PCH_SOURCES
src/actor.cpp
@ -109,7 +109,6 @@ set( PCH_SOURCES
src/weapon.cpp
)
endif()
if( MSVC )
enable_precompiled_headers( ../g_pch.h PCH_SOURCES )

View file

@ -34,6 +34,7 @@ if (WIN32)
set( PLAT_SOURCES
src/startwin.game.cpp
)
endif()
set( NOT_COMPILED_SOURCE_FILES
src/gamestructures.cpp
@ -73,8 +74,6 @@ set( PCH_SOURCES
src/soundsdyn.cpp
)
endif()
if( MSVC )
enable_precompiled_headers( ../g_pch.h PCH_SOURCES )
# The original Build code was written with unsigned chars and unfortunately they still haven't been eliminated entirely.

View file

@ -34,6 +34,7 @@ if (WIN32)
set( PLAT_SOURCES
src/startwin.game.cpp
)
endif()
set( NOT_COMPILED_SOURCE_FILES
src/gamestructures.cpp
@ -73,8 +74,6 @@ set( PCH_SOURCES
src/soundsdyn.cpp
)
endif()
if( MSVC )
enable_precompiled_headers( ../g_pch.h PCH_SOURCES )
# The original Build code was written with unsigned chars and unfortunately they still haven't been eliminated entirely.

View file

@ -34,6 +34,7 @@ if (WIN32)
set( PLAT_SOURCES
src/startwin.game.cpp
)
endif()
set( PCH_SOURCES
src/actor.cpp
@ -112,7 +113,6 @@ set( PCH_SOURCES
src/zombie.cpp
)
endif()
if( MSVC )
enable_precompiled_headers( ../g_pch.h PCH_SOURCES )