add CMake syntax highlighting test

This commit is contained in:
Daniel Wolbach 2020-10-09 21:47:02 +02:00 committed by David Peter
parent 4064b8ff14
commit 06d0c8f056
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,16 @@
# 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()

View File

@ -0,0 +1,16 @@
# 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()