-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove SConscript related files. * Update for libbsarch. * Force-load translations from uibase and gamebryo/creation. * Set option to use deprecated uibase include paths. * Bring githubpp here and add a standalone preset. * Full standalone build.
- Loading branch information
1 parent
8f1dbe9
commit 8e12fd7
Showing
30 changed files
with
642 additions
and
3,810 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,21 @@ | ||
cmake_minimum_required(VERSION 3.16) | ||
|
||
# TODO: move these to cmake_common? | ||
set(OPENSSL_USE_STATIC_LIBS FALSE CACHE STRING "" FORCE) | ||
set(MySQL_INCLUDE_DIRS CACHE STRING "" FORCE) | ||
# TODO: clean include directives | ||
set(MO2_CMAKE_DEPRECATED_UIBASE_INCLUDE ON) | ||
|
||
if(DEFINED DEPENDENCIES_DIR) | ||
include(${DEPENDENCIES_DIR}/modorganizer_super/cmake_common/mo2.cmake) | ||
project(organizer) | ||
|
||
# if MO2_INSTALL_IS_BIN is set, this means that we should install directly into the | ||
# installation prefix, without the bin/ subfolder, typically for a standalone build | ||
# to update an existing install | ||
if (MO2_INSTALL_IS_BIN) | ||
set(_bin ".") | ||
else() | ||
include(${CMAKE_CURRENT_LIST_DIR}/../cmake_common/mo2.cmake) | ||
set(_bin bin) | ||
endif() | ||
|
||
project(organizer) | ||
add_subdirectory(src) | ||
|
||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/dump_running_process.bat DESTINATION bin) | ||
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT organizer) | ||
|
||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/dump_running_process.bat DESTINATION ${_bin}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"configurePresets": [ | ||
{ | ||
"errors": { | ||
"deprecated": true | ||
}, | ||
"hidden": true, | ||
"name": "cmake-dev", | ||
"warnings": { | ||
"deprecated": true, | ||
"dev": true | ||
} | ||
}, | ||
{ | ||
"cacheVariables": { | ||
"VCPKG_MANIFEST_NO_DEFAULT_FEATURES": { | ||
"type": "BOOL", | ||
"value": "ON" | ||
} | ||
}, | ||
"toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake", | ||
"hidden": true, | ||
"name": "vcpkg" | ||
}, | ||
{ | ||
"binaryDir": "${sourceDir}/vsbuild", | ||
"architecture": { | ||
"strategy": "set", | ||
"value": "x64" | ||
}, | ||
"cacheVariables": { | ||
"CMAKE_CXX_FLAGS": "/EHsc /MP /W4", | ||
"VCPKG_TARGET_TRIPLET": { | ||
"type": "STRING", | ||
"value": "x64-windows-static-md" | ||
} | ||
}, | ||
"generator": "Visual Studio 17 2022", | ||
"inherits": ["cmake-dev", "vcpkg"], | ||
"name": "vs2022-windows", | ||
"toolset": "v143" | ||
}, | ||
{ | ||
"cacheVariables": { | ||
"VCPKG_MANIFEST_FEATURES": { | ||
"type": "STRING", | ||
"value": "standalone" | ||
}, | ||
"MO2_INSTALL_IS_BIN": { | ||
"type": "BOOL", | ||
"value": "ON" | ||
} | ||
}, | ||
"inherits": "vs2022-windows", | ||
"name": "vs2022-windows-standalone" | ||
} | ||
], | ||
"version": 4 | ||
} |
Oops, something went wrong.