2024-01-29 10:59:55 +00:00
|
|
|
cmake_minimum_required(VERSION 3.2)
|
|
|
|
|
|
|
|
project(MuzGenTest)
|
|
|
|
|
|
|
|
find_package(Catch2 REQUIRED)
|
|
|
|
|
|
|
|
add_executable(muz-test
|
2024-01-30 18:09:57 +00:00
|
|
|
Lexer.cpp
|
|
|
|
Parser.cpp
|
|
|
|
AudioConf.cpp
|
2024-01-29 10:59:55 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
set_property(TARGET muz-test
|
|
|
|
PROPERTY CXX_STANDARD 17
|
|
|
|
)
|
|
|
|
|
|
|
|
add_dependencies(muz-test
|
|
|
|
muz-lib
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(muz-test
|
|
|
|
PRIVATE Catch2::Catch2WithMain
|
|
|
|
PRIVATE muz-lib
|
|
|
|
)
|
|
|
|
|
|
|
|
target_include_directories(muz-test
|
|
|
|
PRIVATE ${CMAKE_SOURCE_DIR}
|
|
|
|
)
|