mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-08-15 14:43:32 -07:00
Name the project AtlasMisc as the atlas Object is shared. Not working as of 04.06.2026: - Linking to wxWidgets find_package target - Terrain.obj : `error LNK2019: Verweis auf nicht aufgel├Âstes externes Symbol ""int const wxEVT_NULL" (?wxEVT_NULL@@3HB)" in Funktion ""void __cdecl dynamic initializer for 'private: static struct wxEventTableEntry const * const TerrainSidebar::sm_eventTableEntries''(void)" (??__E?sm_eventTableEntries@TerrainSidebar@@0QBUwxEventTableEntry@@B@@YAXXZ)".` Working: - Using find_package extra variables to find most of the windows ext. libs - excluding SDL2 and Boost, which use the custom find_prebuild_library function
15 lines
258 B
CMake
15 lines
258 B
CMake
target_sources(AtlasObject
|
|
PRIVATE
|
|
AtlasObject.h
|
|
AtlasObjectImpl.cpp
|
|
AtlasObjectImpl.h
|
|
AtlasObjectJS.cpp
|
|
AtlasObjectText.cpp
|
|
AtlasObjectText.h
|
|
AtlasObjectXML.cpp
|
|
JSONSpiritInclude.h
|
|
)
|
|
|
|
if(NOT without-tests)
|
|
add_subdirectory(tests/)
|
|
endif()
|