# ============================================================ # Memory Library Tests # ============================================================ set(MEMORY_TEST_SOURCES test_memory_manager.cpp test_linear_allocator.cpp test_pool_allocator.cpp ) add_executable(memory_tests ${MEMORY_TEST_SOURCES}) if(MSVC) set_target_properties(memory_tests PROPERTIES LINK_FLAGS "/NODEFAULTLIB:libcpmt.lib /NODEFAULTLIB:libcmt.lib" ) endif() target_link_libraries(memory_tests PRIVATE XCEngine GTest::gtest GTest::gtest_main ) target_include_directories(memory_tests PRIVATE ${CMAKE_SOURCE_DIR}/engine/include ${CMAKE_SOURCE_DIR}/tests/fixtures ) include(GoogleTest) gtest_discover_tests(memory_tests)