summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/AutoExportDll/AutoExport.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/AutoExportDll/AutoExport.cmake')
-rw-r--r--Tests/RunCMake/AutoExportDll/AutoExport.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/AutoExportDll/AutoExport.cmake b/Tests/RunCMake/AutoExportDll/AutoExport.cmake
new file mode 100644
index 0000000..3b2b2c5
--- /dev/null
+++ b/Tests/RunCMake/AutoExportDll/AutoExport.cmake
@@ -0,0 +1,7 @@
+project(autoexport)
+set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS TRUE)
+set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${autoexport_BINARY_DIR}/bin)
+add_subdirectory(sub)
+add_library(autoexport SHARED hello.cxx world.cxx foo.c)
+add_executable(say say.cxx)
+target_link_libraries(say autoexport autoexport2)