mirror of
https://github.com/jorenchik/mdemory.git
synced 2026-03-22 00:26:21 +00:00
base functional unit tests for transpiler
This commit is contained in:
23
src/test/CMakeLists.txt
Normal file
23
src/test/CMakeLists.txt
Normal file
@@ -0,0 +1,23 @@
|
||||
cmake_minimum_required(VERSION 3.14)
|
||||
project(MdemoryTest)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
find_package(GTest REQUIRED)
|
||||
enable_testing()
|
||||
|
||||
add_executable(
|
||||
testTranspiler
|
||||
testTranspiler.cpp
|
||||
|
||||
)
|
||||
target_link_libraries(
|
||||
testTranspiler
|
||||
GTest::gtest_main
|
||||
api
|
||||
)
|
||||
|
||||
include(GoogleTest)
|
||||
gtest_discover_tests(testTranspiler)
|
||||
|
||||
Reference in New Issue
Block a user