bare bones cmake & tiny warnings (#1)
* add cmakelist * fix 2 warnings * rename libs * add the multithreaded thing * combine libpng into render lib --------- Co-authored-by: gsds <51339266+Patoke@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
cmake_minimum_required(VERSION 3.25 FATAL_ERROR)
|
||||
|
||||
project(4JLibs.Windows.Storage LANGUAGES C CXX)
|
||||
|
||||
add_library(${PROJECT_NAME} STATIC
|
||||
4J_Storage.cpp
|
||||
stdafx.cpp
|
||||
STO_DLC.cpp
|
||||
STO_Main.cpp
|
||||
STO_SaveGame.cpp
|
||||
)
|
||||
|
||||
target_include_directories(${PROJECT_NAME} PRIVATE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_precompile_headers(${PROJECT_NAME} PRIVATE
|
||||
stdafx.h
|
||||
)
|
||||
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||
PREFIX ""
|
||||
OUTPUT_NAME "4J_Storage"
|
||||
)
|
||||
@@ -98,7 +98,7 @@ C4JStorage::ESaveGameState CSaveGame::GetSavesInfo(int iPad, int (*Func)(LPVOID
|
||||
if (h == INVALID_HANDLE_VALUE)
|
||||
{
|
||||
DWORD error = GetLastError();
|
||||
printf("Error finding save dirs: 0x%08x\n", error);
|
||||
printf("Error finding save dirs: 0x%08lx\n", error);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user