File tree 3 files changed +31
-9
lines changed 3 files changed +31
-9
lines changed Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.16)
2
2
3
- if (DEFINED DEPENDENCIES_DIR)
4
- include (${DEPENDENCIES_DIR} /modorganizer_super/cmake_common/mo2.cmake)
5
- else ()
6
- include (${CMAKE_CURRENT_LIST_DIR} /../cmake_common/mo2.cmake)
7
- endif ()
8
-
9
3
project (basic_games LANGUAGES NONE)
4
+
5
+ find_package (mo2-cmake CONFIG REQUIRED)
6
+
10
7
add_custom_target (basic_games ALL )
11
- mo2_configure_python(basic_games
12
- MODULE
13
- TRANSLATIONS OFF )
8
+ mo2_configure_python(basic_games MODULE TRANSLATIONS OFF )
Original file line number Diff line number Diff line change
1
+ {
2
+ "configurePresets" : [
3
+ {
4
+ "binaryDir" : " ${sourceDir}/vsbuild" ,
5
+ "toolchainFile" : " $env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" ,
6
+ "generator" : " Visual Studio 17 2022" ,
7
+ "name" : " vs2022-windows"
8
+ }
9
+ ],
10
+ "buildPresets" : [
11
+ {
12
+ "name" : " vs2022-windows" ,
13
+ "configurePreset" : " vs2022-windows"
14
+ }
15
+ ],
16
+ "version" : 4
17
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "dependencies" : [" mo2-cmake" ],
3
+ "vcpkg-configuration" : {
4
+ "default-registry" : {
5
+ "kind" : " git" ,
6
+ "repository" : " https://github.com/ModOrganizer2/vcpkg-registry" ,
7
+ "baseline" : " 27d8adbfe9e4ce88a875be3a45fadab69869eb60"
8
+ }
9
+ }
10
+ }
You can’t perform that action at this time.
0 commit comments