Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Commit 78aced3

Browse files
authored
Update CMakeLists.txt
1 parent ca74647 commit 78aced3

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

CMakeLists.txt

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
# oh yes sir, the Linux support is gonna be here soon
2+
3+
# TODO:
4+
# WASNT TESTED YET
5+
# MORE CMAKE THINGIES (line 81-85)
6+
# CHECK IF IT WILL EVEN COMPILE
7+
28
cmake_minimum_required(VERSION 3.18 FATAL_ERROR)
39

410
set(CMAKE_CONFIGURATION_TYPES "Debug;Release" CACHE STRING "" FORCE)
@@ -42,13 +48,12 @@ set(BUILD_GAME "hl2" CACHE STRING "Build Game")
4248

4349
set_property(
4450
CACHE BUILD_GAME PROPERTY STRINGS
45-
"hl2"
46-
"episodic"
51+
"defunmod"
4752
)
4853

4954
set(SRCDIR "${CMAKE_CURRENT_LIST_DIR}")
5055
set(GAMEDIR "${CMAKE_CURRENT_LIST_DIR}/game")
51-
set(THIRDPARTYDIR "${SRCDIR}/thirdparty")
56+
# It's a commented code don't highlight ok? | set(THIRDPARTYDIR "${SRCDIR}/thirdparty")
5257

5358
# Compile options that are populated and set for each target depending on their type
5459
set(ADDITIONAL_COMPILE_OPTIONS_EXE)
@@ -93,6 +98,8 @@ include_directories(
9398
"${SRCDIR}/public"
9499
"${SRCDIR}/public/tier0"
95100
"${SRCDIR}/public/tier1"
101+
"${SRCDIR}/public/tier2" # Not sure if necessary
102+
"${SRCDIR}/public/tier3" # Ditto
96103
)
97104

98105
add_compile_definitions($<$<CONFIG:Debug>:DEBUG> $<$<CONFIG:Debug>:_DEBUG>)

0 commit comments

Comments
 (0)