Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions rctctl/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
cmake_minimum_required(VERSION 3.14)
project(rctctl)

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# When built standalone, set ROOT_DIR to parent directory
if (NOT DEFINED ROOT_DIR)
get_filename_component(ROOT_DIR "${CMAKE_CURRENT_LIST_DIR}/.." ABSOLUTE)
endif()

set(RCTCTL_SOURCES
"${CMAKE_CURRENT_LIST_DIR}/src/main.cpp"
"${CMAKE_CURRENT_LIST_DIR}/src/cli/cli.cpp"
Expand Down Expand Up @@ -43,6 +54,7 @@ endif()
list(APPEND RCTCTL_JSON_HINTS
"$ENV{NLOHMANN_JSON_INCLUDE_DIR}"
"${ROOT_DIR}/lib/macos/include"
"${ROOT_DIR}/lib/x64/include"
"/usr/include"
"/usr/local/include"
)
Expand Down
2 changes: 2 additions & 0 deletions src/openrct2-ui/libopenrct2ui.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
<ClInclude Include="UiContext.h" />
<ClInclude Include="UiStringIds.h" />
<ClInclude Include="WindowManager.h" />
<ClInclude Include="aiagent\AIAgentFollowController.h" />
<ClInclude Include="windows\Windows.h" />
</ItemGroup>
<ItemGroup>
Expand Down Expand Up @@ -162,6 +163,7 @@
<ClCompile Include="UiContext.Linux.cpp" />
<ClCompile Include="UiContext.Win32.cpp" />
<ClCompile Include="WindowManager.cpp" />
<ClCompile Include="aiagent\AIAgentFollowController.cpp" />
<ClCompile Include="windows\About.cpp" />
<ClCompile Include="windows\AssetPacks.cpp" />
<ClCompile Include="windows\Banner.cpp" />
Expand Down
Loading