mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Tried to stay as close as possible to ja2_2019.sln On Visual Studio 2022 just Project -> CMake Settings for Ja2, add the x86 configurations you want and press F7. Below shows how the -DLanguages -DApplications switches work, If you don't set them, the CMakeCache.txt of them will be set to ENGLISH and JA2, respectively: cmake [...] // nothing set, configure just JA2_ENGLISH.exe by default cmake [...] -DApplications="JA2UB" // configures just Unfinished Business cmake [...] build -DApplications="JA2UB;JA2UBMAPEDITOR" // Unfinished Business and UB Map Editor cmake [...] build -DApplications="JA2UB;JA2MAPEDITOR;ALL" // ALL is in the list, configures every application cmake [...] build -DApplications="JA2MAPEDITOR;DeathStranding" // fatal error: DeathStranding not an application cmake [...] -DLanguages="GERMAN" // configures just German targets cmake [...] build -DLanguages="GERMAN;ENGLISH" // German and English cmake [...] build -DLanguages="GERMAN;ENGLISH;ALL" // ALL is in the list, configures every language cmake [...] build -DLanguages="ENGLISH;ESPERANTO" // fatal error: ESPERANTO not supported
28 lines
1.2 KiB
CMake
28 lines
1.2 KiB
CMake
set(EditorSrc
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/Cursor Modes.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/Editor Callbacks.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/Editor Modes.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/Editor Taskbar Creation.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/Editor Taskbar Utils.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/Editor Undo.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/EditorBuildings.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/EditorItems.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/EditorMapInfo.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/EditorMercs.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/EditorTerrain.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/editscreen.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/edit_sys.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/Item Statistics.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/LoadScreen.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/messagebox.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/newsmooth.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/popupmenu.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/Road Smoothing.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/Sector Summary.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/selectwin.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/SmartMethod.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/smooth.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/Smoothing Utils.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/XML_ActionItems.cpp"
|
|
PARENT_SCOPE)
|