muzgen/tests/CMakeLists.txt

29 lines
408 B
CMake
Raw Permalink Normal View History

2024-01-29 10:59:55 +00:00
cmake_minimum_required(VERSION 3.2)
project(MuzGenTest)
find_package(Catch2 REQUIRED)
add_executable(muz-test
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}
)