bat/tests/syntax-tests/highlighted/CMake/CMakeLists.txt
2020-10-09 22:50:47 +02:00

17 lines
2.5 KiB
CMake
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# This is a file for testing syntax highlighting.
cmake_minimum_required(VERSION 3.13)
project(hello-bat VERSION 0.0.1 LANGUAGES C)
set(SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/src/")
file(GLOB_RECURSE SOURCES "${SOURCE_DIR}/*.c")
add_executable(hello-bat SOURCES)
find_package(assimp CONFIG)
target_link_libraries(hello-bat assimp)
option("ENABLE_TESTS" OFF)
if(ENABLE_TESTS)
 add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/tests/")
endif()