This file contains hidden or 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
| cmake_minimum_required(VERSION 3.24) | |
| project(IAmAConsoleApp VERSION 0.0.1 LANGUAGES CXX) | |
| add_executable(${PROJECT_NAME} src/main.cpp) | |
| target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_23) | |
| target_link_options(${PROJECT_NAME} PRIVATE "/SUBSYSTEM:WINDOWS" "/ENTRY:mainCRTStartup") |
This file contains hidden or 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
| cmake_minimum_required(VERSION 3.24) | |
| project(INeedAdmin VERSION 1.0.0) | |
| set(CMAKE_CXX_STANDARD 23) | |
| add_executable(${PROJECT_NAME} main.cpp) | |
| set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS " /MANIFESTUAC:\"level='requireAdministrator' uiAccess='false'\" ") |
This file contains hidden or 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
| set Skyrim64Path=C:\Development\MO2\Portable\mods\SKSE64 - AE - Debug\Root | |
| git clone https://github.com/ianpatt/common AE/common | |
| git clone https://github.com/ianpatt/skse64 AE/skse64 | |
| cd AE | |
| cmake -B common/build -S common -DCMAKE_INSTALL_PREFIX=extern common | |
| cmake --build common/build --config Debug --target install | |
| cmake -B skse64/build -S skse64 -DCMAKE_INSTALL_PREFIX=extern -DSKSE_COPY_OUTPUT=ON | |
| cmake --build skse64/build --config Debug | |
| cd .. | |
| pause |