mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 15:10:20 -06:00
ENH: Fixed Plugin test on Cygwin.
This commit is contained in:
@@ -987,7 +987,7 @@ IF(BUILD_TESTING)
|
||||
)
|
||||
|
||||
# Disable this test on QNX until support is implemented.
|
||||
IF(NOT QNXNTO AND NOT CYGWIN)
|
||||
IF(NOT QNXNTO)
|
||||
ADD_TEST(Plugin ${CMAKE_CTEST_COMMAND}
|
||||
--build-and-test
|
||||
"${CMake_SOURCE_DIR}/Tests/Plugin"
|
||||
@@ -997,7 +997,7 @@ IF(BUILD_TESTING)
|
||||
--build-makeprogram ${CMAKE_TEST_MAKEPROGRAM}
|
||||
--build-two-config
|
||||
--test-command bin/example)
|
||||
ENDIF(NOT QNXNTO AND NOT CYGWIN)
|
||||
ENDIF(NOT QNXNTO)
|
||||
|
||||
IF(NOT CMAKE_TEST_DIFFERENT_GENERATOR)
|
||||
ADD_TEST(kwsys ${CMAKE_CTEST_COMMAND}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef example_h
|
||||
#define example_h
|
||||
|
||||
#if defined(_WIN32)
|
||||
#if defined(_WIN32) || defined(__CYGWIN__)
|
||||
# if defined(example_exe_EXPORTS)
|
||||
# define EXAMPLE_EXPORT __declspec(dllexport)
|
||||
# else
|
||||
|
||||
Reference in New Issue
Block a user