-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup_sdk.bat
37 lines (32 loc) · 909 Bytes
/
setup_sdk.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
@echo off
echo Setting up SDK structure...
:: Create SDK directories
mkdir include\SDK\UE4
mkdir include\SDK\FortniteGame
mkdir include\SDK\Engine
mkdir include\ThirdParty\curl\include
mkdir include\ThirdParty\json\include
:: Create base SDK headers
echo Creating base SDK headers...
:: UE4 base types
(
echo #pragma once
echo #include ^<cstdint^>
echo namespace UE4 {
echo using uint8 = uint8_t;
echo using int32 = int32_t;
echo using uint32 = uint32_t;
echo class UObject;
echo class AActor;
echo class UClass;
echo }
) > include\SDK\UE4\CoreTypes.h
:: Create CMake find modules
mkdir cmake
(
echo include^(FindPackageHandleStandardArgs^)
echo find_path^(CURL_INCLUDE_DIR curl/curl.h^)
echo find_library^(CURL_LIBRARY NAMES curl libcurl^)
echo find_package_handle_standard_args^(CURL DEFAULT_MSG CURL_LIBRARY CURL_INCLUDE_DIR^)
) > cmake\FindCURL.cmake
echo SDK setup complete!