summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FileAPI/cxx
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2018-11-09 18:54:41 (GMT)
committerBrad King <brad.king@kitware.com>2018-12-12 14:45:49 (GMT)
commitea0a0601682af00706cf57f6d3e27d4f0895ecbb (patch)
tree539ef9baee753df0254f5c207dcc3d0dc56af949 /Tests/RunCMake/FileAPI/cxx
parent3e922ceb5e8cc4c4d72ddcbd8b485803c49d84f1 (diff)
downloadCMake-ea0a0601682af00706cf57f6d3e27d4f0895ecbb.zip
CMake-ea0a0601682af00706cf57f6d3e27d4f0895ecbb.tar.gz
CMake-ea0a0601682af00706cf57f6d3e27d4f0895ecbb.tar.bz2
fileapi: Add test for codemodel v2
Diffstat (limited to 'Tests/RunCMake/FileAPI/cxx')
-rw-r--r--Tests/RunCMake/FileAPI/cxx/CMakeLists.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/Tests/RunCMake/FileAPI/cxx/CMakeLists.txt b/Tests/RunCMake/FileAPI/cxx/CMakeLists.txt
new file mode 100644
index 0000000..29b61b8
--- /dev/null
+++ b/Tests/RunCMake/FileAPI/cxx/CMakeLists.txt
@@ -0,0 +1,15 @@
+project(Cxx)
+enable_language(CXX)
+
+add_library(cxx_lib ../empty.cxx)
+add_executable(cxx_exe ../empty.cxx)
+target_link_libraries(cxx_exe PRIVATE cxx_lib)
+set_property(TARGET cxx_exe PROPERTY FOLDER bin)
+
+add_library(cxx_shared_lib SHARED ../empty.cxx)
+add_executable(cxx_shared_exe ../empty.cxx)
+target_link_libraries(cxx_shared_exe PRIVATE cxx_shared_lib)
+
+add_library(cxx_static_lib STATIC ../empty.cxx)
+add_executable(cxx_static_exe ../empty.cxx)
+target_link_libraries(cxx_static_exe PRIVATE cxx_static_lib)