Do some basic unit tests for "codemodel", "cmakeInputs" and "cache" commands of the cmake server. This just calls the commands right now and makes sure the server thinks it can reply to the request. The data itself is currently not validated.
23 lines
296 B
CMake
23 lines
296 B
CMake
cmake_minimum_required(VERSION 3.4)
|
|
|
|
project(buildsystem2)
|
|
|
|
set(var1 123)
|
|
|
|
set(var2 345)
|
|
|
|
add_executable(main main.cpp)
|
|
|
|
add_executable(m_other main.cpp)
|
|
|
|
add_library(foo foo.cpp)
|
|
|
|
function(f1)
|
|
endfunction()
|
|
|
|
set(var3 345)
|
|
|
|
add_library(someImportedLib UNKNOWN IMPORTED)
|
|
|
|
add_subdirectory(subdir)
|