certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-cvs] certi/libHLA CMakeLists.txt


From: CERTI CVS commits
Subject: [certi-cvs] certi/libHLA CMakeLists.txt
Date: Thu, 26 Apr 2012 08:23:26 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Eric NOULARD <erk>      12/04/26 08:23:26

Modified files:
        libHLA         : CMakeLists.txt 

Log message:
        Do not flag header file as "C source file" this produce CMake warning 
for nothing.
        Tidy up the CMakeLists.txt a little bit.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/libHLA/CMakeLists.txt?cvsroot=certi&r1=1.18&r2=1.19

Patches:
Index: CMakeLists.txt
===================================================================
RCS file: /sources/certi/certi/libHLA/CMakeLists.txt,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- CMakeLists.txt      18 Dec 2011 16:02:22 -0000      1.18
+++ CMakeLists.txt      26 Apr 2012 08:23:26 -0000      1.19
@@ -22,16 +22,16 @@
 
 # Currently TLSF does not compile as-is on WIN32
 IF (NOT WIN32)
-  SET(LIBHLA_ALLOC_SRCS tlsf.c tlsf.h tlsf_target.h)
+  SET(LIBHLA_ALLOC_SRCS tlsf.c tlsf_target.h)
   LIST(APPEND LIBHLA_EXPORTED_INCLUDES tlsf.h)
-  set_source_files_properties(tlsf.c tlsf.h tlsf_target.h PROPERTIES LANGUAGE 
"C")
-  set_source_files_properties(tlsf.c tlsf.h tlsf_target.h PROPERTIES CFLAGS 
"-Wextra -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wno-long-long -Wstrict-aliasing=2")
-  SOURCE_GROUP("Source Files\\Alloc" FILES ${LIBHLA_ALLOC_SRCS})
+  set_source_files_properties(tlsf.c PROPERTIES LANGUAGE "C")
+  set_source_files_properties(tlsf.c PROPERTIES CFLAGS "-Wextra -Wall 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long 
-Wstrict-aliasing=2")
+  SOURCE_GROUP("Source Files\\Alloc" FILES ${LIBHLA_ALLOC_SRCS} tlsf.h)
 ENDIF (NOT WIN32)
 
-SET(LIBHLA_MB_SRCS MessageBuffer.cc MessageBuffer.hh MsgBuffer.c MsgBuffer.h)
+SET(LIBHLA_MB_SRCS MessageBuffer.cc MsgBuffer.c)
 LIST(APPEND LIBHLA_EXPORTED_INCLUDES MessageBuffer.hh MsgBuffer.h)
-set_source_files_properties(MsgBuffer.c MsgBuffer.h PROPERTIES LANGUAGE "C")
+set_source_files_properties(MsgBuffer.c PROPERTIES LANGUAGE "C")
 
 SET(LIBHLA_MB_TEST_SRCS MessageBufferTests.cc)
 ADD_EXECUTABLE(MessageBufferTests ${LIBHLA_MB_TEST_SRCS})
@@ -41,7 +41,6 @@
 set_source_files_properties(MsgBufferTests.c PROPERTIES LANGUAGE "C")
 target_link_libraries(MsgBufferTests HLA)
 
-
 INSTALL(TARGETS MessageBufferTests MsgBufferTests
     RUNTIME DESTINATION bin
     LIBRARY DESTINATION lib



reply via email to

[Prev in Thread] Current Thread [Next in Thread]