Skip to content

Commit aa6bbba

Browse files
author
sourcehold
committed
docs: add favicon
1 parent 0894811 commit aa6bbba

9 files changed

Lines changed: 57 additions & 0 deletions

CMakeLists.txt

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# CMakeList.txt : CMake project for StrongholdCrusader-cmake, include source and define
2+
# project specific logic here.
3+
#
4+
cmake_minimum_required (VERSION 3.8)
5+
6+
# Enable Hot Reload for MSVC compilers if supported.
7+
#if (POLICY CMP0141)
8+
#cmake_policy(SET CMP0141 NEW)
9+
#set(CMAKE_MSVC_DEBUG_INFORMATION_FORMAT "$<IF:$<AND:$<C_COMPILER_ID:MSVC>,$<CXX_COMPILER_ID:MSVC>>,$<$<CONFIG:Debug,RelWithDebInfo>:EditAndContinue>,$<$<CONFIG:Debug,RelWithDebInfo>:ProgramDatabase>>")
10+
#endif()
11+
12+
if (NOT CMAKE_BUILD_TYPE)
13+
message(STATUS "No build type selected, default to RelWithDebInfo")
14+
set(CMAKE_BUILD_TYPE "RelWithDebInfo")
15+
endif()
16+
17+
project ("StrongholdCrusader")
18+
19+
# /MD is required to make alignment happen (first function 0x401000)
20+
set(CMAKE_CXX_FLAGS "/W3 /EHsc /D \"WIN32\" /D \"_WINDOWS\" /MD")
21+
set(CMAKE_CXX_FLAGS_DEBUG "/Gm /Zi /Od /D \"_DEBUG\"")
22+
set(CMAKE_CXX_FLAGS_RELEASE "/O2 /D \"NDEBUG\"")
23+
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "/Zi /O2 /D \"NDEBUG\"")
24+
set(CMAKE_CXX_FLAGS_MINSIZEREL "/Os /D \"NDEBUG\"")
25+
26+
set(CMAKE_EXE_LINKER_FLAGS "/machine:I386")
27+
set(CMAKE_EXE_LINKER_FLAGS_DEBUG "/incremental:yes /debug")
28+
set(CMAKE_EXE_LINKER_FLAGS_RELEASE "/incremental:no")
29+
set(CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO "/incremental:no /debug")
30+
set(CMAKE_EXE_LINKER_FLAGS_MINSIZEREL "/incremental:no")
31+
32+
set(CMAKE_STATIC_LINKER_FLAGS "/machine:I386")
33+
34+
set(CMAKE_SHARED_LINKER_FLAGS "/machine:I386")
35+
set(CMAKE_SHARED_LINKER_FLAGS_DEBUG "/incremental:yes /debug")
36+
set(CMAKE_SHARED_LINKER_FLAGS_RELEASE "/incremental:no")
37+
set(CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO "/incremental:no /debug")
38+
set(CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL "/incremental:no")
39+
40+
message("CMAKE_C_FLAGS is ${CMAKE_C_FLAGS}")
41+
message("CMAKE_C_FLAGS_RELWITHDEBINFO is ${CMAKE_C_FLAGS_RELWITHDEBINFO}")
42+
message("CMAKE_CXX_FLAGS is ${CMAKE_CXX_FLAGS}")
43+
message("CMAKE_CXX_FLAGS_RELWITHDEBINFO is ${CMAKE_CXX_FLAGS_RELWITHDEBINFO}")
44+
45+
# Add source to this project's executable. Will be used when finished with the dll approach
46+
# add_executable ("Stronghold Crusader.exe" ...)
47+
48+
add_library(OpenSHC SHARED "OpenSHC.cpp")
49+
50+
#if (CMAKE_VERSION VERSION_GREATER 3.12)
51+
#set_property(TARGET StrongholdCrusader PROPERTY CXX_STANDARD 20)
52+
#endif()
53+
54+
# TODO: Add tests and install targets if needed.
55+
23.5 KB
Loading
155 KB
Loading

docs/_static/apple-touch-icon.png

20.9 KB
Loading

docs/_static/favicon-16x16.png

643 Bytes
Loading

docs/_static/favicon-32x32.png

1.49 KB
Loading

docs/_static/favicon.ico

15 KB
Binary file not shown.

docs/_static/site.webmanifest

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
html_title = 'OpenSHC Documentation'
1313
html_logo = '_static/openshc-logo-01.png'
14+
html_favicon = '_static/favicon.ico'
1415
html_static_path = ['_static']
1516
html_theme_options = {
1617
"footer_icons": [

0 commit comments

Comments
 (0)