[cmake-commits] hoffman committed bar.cxx 1.2 1.3 foo.cxx 1.2 1.3

cmake-commits at cmake.org cmake-commits at cmake.org
Tue May 8 12:43:08 EDT 2007


Update of /cvsroot/CMake/CMake/Tests/Framework
In directory public:/mounts/ram/cvs-serv11943

Modified Files:
	bar.cxx foo.cxx 
Log Message:
ENH: make it work on non windows


Index: bar.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/Framework/bar.cxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- bar.cxx	8 May 2007 15:53:39 -0000	1.2
+++ bar.cxx	8 May 2007 16:43:06 -0000	1.3
@@ -1,5 +1,7 @@
 #ifdef _WIN32
 #  define CM_TEST_LIB_IMPORT  __declspec( dllimport )
+#else 
+#  define CM_TEST_LIB_IMPORT
 #endif
 CM_TEST_LIB_IMPORT void foo();
 int main()

Index: foo.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/Framework/foo.cxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- foo.cxx	8 May 2007 15:53:39 -0000	1.2
+++ foo.cxx	8 May 2007 16:43:06 -0000	1.3
@@ -1,6 +1,8 @@
 #include <stdio.h>
 #ifdef _WIN32
 #  define CM_TEST_LIB_EXPORT  __declspec( dllexport )
+#else 
+#  define CM_TEST_LIB_EXPORT
 #endif
 CM_TEST_LIB_EXPORT void foo()
 {



More information about the Cmake-commits mailing list