[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[certi-cvs] certi/test CMakeLists.txt
From: |
CERTI CVS commits |
Subject: |
[certi-cvs] certi/test CMakeLists.txt |
Date: |
Fri, 09 Sep 2011 14:29:54 +0000 |
CVSROOT: /sources/certi
Module name: certi
Changes by: Eric NOULARD <erk> 11/09/09 14:29:54
Modified files:
test : CMakeLists.txt
Log message:
Do not compile CertiCheckHostAndIp on Windows.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/test/CMakeLists.txt?cvsroot=certi&r1=1.3&r2=1.4
Patches:
Index: CMakeLists.txt
===================================================================
RCS file: /sources/certi/certi/test/CMakeLists.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- CMakeLists.txt 19 Jul 2011 07:57:24 -0000 1.3
+++ CMakeLists.txt 9 Sep 2011 14:29:54 -0000 1.4
@@ -2,11 +2,14 @@
add_subdirectory( Billard )
add_subdirectory( utility )
-if (CMAKE_SYSTEM_NAME MATCHES "Linux")
+# Do not compile this on Win32 (not very useful)
+if (NOT WIN32)
+ if (CMAKE_SYSTEM_NAME MATCHES "Linux")
set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/certiCheckHostAndIP.c
PROPERTIES COMPILE_DEFINITIONS "LINUX")
-endif()
-add_executable(CertiCheckHostAndIP certiCheckHostAndIP.c)
-install(TARGETS CertiCheckHostAndIP
+ endif()
+ add_executable(CertiCheckHostAndIP certiCheckHostAndIP.c)
+ install(TARGETS CertiCheckHostAndIP
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)
\ No newline at end of file
+endif(NOT WIN32)
\ No newline at end of file
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [certi-cvs] certi/test CMakeLists.txt,
CERTI CVS commits <=