Skip to content

Commit

Permalink
Adjust copyright year and mark a few settings in CMakeLists.txt as ad…
Browse files Browse the repository at this point in the history
…vanced. This commit marks the release of 100.0.0
  • Loading branch information
frozenblit committed Feb 28, 2021
1 parent 92bb0a7 commit eb0511c
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 4 deletions.
10 changes: 9 additions & 1 deletion CMakeLists.txt
Expand Up @@ -24,13 +24,14 @@ project(polserver

set(POL_VERSION_STR "${polserver_VERSION}")
set(POL_VERSION_NAME "Never Gonna Give You Up")
set(POL_COPYRIGHT "Copyright (C) 1993-2020 Eric N. Swanson")
set(POL_COPYRIGHT "Copyright (C) 1993-2021 Eric N. Swanson")

option(NO_PCH "Disable pre-compiled headers" OFF)
option(USE_CCACHE "Use ccache if found" OFF)
option(ENABLE_BENCHMARK "Enable benchmark support" OFF)
option(ENABLE_FLYWEIGHT_REPORT "Enables flyweight memory report in memoryusage.log" OFF)
option(GCOV "Build for coverage" OFF)
mark_as_advanced(NO_PCH USE_CCACHE ENABLE_BENCHMARK ENABLE_FLYWEIGHT_REPORT GCOV)

option(BUILD_ALL "Build everything" ON)
option(ONLY_ECOMPILE "Build only ecompile" OFF)
Expand All @@ -39,17 +40,24 @@ option(ONLY_POL "Build only pol" OFF)
option(ONLY_POLTOOL "Build only poltool" OFF)
option(ONLY_UOCONVERT "Build only uoconvert" OFF)
option(ONLY_UOTOOL "Build only uotool" OFF)
mark_as_advanced(BUILD_ALL ONLY_ECOMPILE ONLY_RUNECL ONLY_POL ONLY_POLTOOL ONLY_UOCONVERT ONLY_UOTOOL)

option(ENABLE_ASAN "Enables Address sanitizer" OFF)
option(ENABLE_USAN "Enables Undefined sanitizer" OFF)
option(ENABLE_MSAN "Enables Memory sanitizer" OFF)
option(ENABLE_TSAN "Enables Thread sanitizer" OFF)
mark_as_advanced(ENABLE_ASAN ENABLE_USAN ENABLE_MSAN ENABLE_TSAN)

option(ENABLE_TIDY "Enables clang tidy check" OFF)
#e.g "-fix;-checks=modernize-use-nullptr"
set(TIDY_ARGS "" CACHE STRING "clang tidy arguments")
mark_as_advanced(ENABLE_TIDY TIDY_ARGS)

option(REUSE_PCH "Reuse clib pch if needed (windows only)" OFF)
mark_as_advanced(REUSE_PCH)

# misc variables to be marked as advanced
mark_as_advanced(CLANG_FORMAT_EXE ANTLR_EXECUTABLE)

if(${ONLY_ECOMPILE} OR ${ONLY_RUNECL} OR ${ONLY_POL} OR ${ONLY_POLTOOL} OR ${ONLY_UOCONVERT} OR ${ONLY_UOTOOL})
set(BUILD_ALL OFF)
Expand Down
11 changes: 9 additions & 2 deletions docs/docs.polserver.com/pol100/corechanges.xml
Expand Up @@ -2,9 +2,16 @@
<ESCRIPT>
<header>
<topic>Latest Core Changes</topic>
<datemodified>02-27-2021</datemodified>
<datemodified>02-28-2021</datemodified>
</header>
<version name="POL100">
<version name="POL100.0.0">
<entry>
<date>02-28-2021</date>
<author>Nando:</author>
<change type="Note">POL 100.0.0 is now officially released. This release marks the beginning of more frequent, rolling releases.<br/>
The next release will remove support for the old compiler. This is the *last chance* to test<br/>
if your scripts change when compiled with the new compiler. (See entry on 09-15-2020)</change>
</entry>
<entry>
<date>02-27-2021</date>
<author>Nando:</author>
Expand Down
6 changes: 5 additions & 1 deletion pol-core/doc/core-changes.txt
@@ -1,4 +1,8 @@
-- POL100 --
-- POL100.0.0 --
02-28-2021 Nando:
Note: POL 100.0.0 is now officially released. This release marks the beginning of more frequent, rolling releases.
The next release will remove support for the old compiler. This is the *last chance* to test
if your scripts change when compiled with the new compiler. (See entry on 09-15-2020)
02-27-2021 Nando:
Added: Parameter "evmask" to EnableEvents(ev, range := -1, evmask := EVMASK_ALL).
The allowed values are EVMASK_ONLY_PC, EVMASK_ONLY_NPC, or EVMASK_ALL.
Expand Down

0 comments on commit eb0511c

Please sign in to comment.