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
13 lines
321 B
CMake
13 lines
321 B
CMake
cxxtest_add_test(test_atlas_object_xml testAtlasObjectXML.cpp ${CMAKE_CURRENT_LIST_DIR}/test_AtlasObjectXML.h)
|
|
|
|
target_include_directories(test_atlas_object_xml
|
|
PRIVATE
|
|
${CMAKE_SOURCE_DIR}/source
|
|
${CXXTEST_INCLUDE_DIRS}
|
|
)
|
|
|
|
target_link_libraries(test_atlas_object_xml
|
|
PRIVATE
|
|
${BUILD_FLAGS_TARGET}
|
|
AtlasObject
|
|
)
|