Update of /cvsroot/rtk/rtk/src/core
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9383/src/core
Modified Files:
CMakeLists.txt
Log Message:
Improved CMakeLists.txt files ... :)
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/rtk/rtk/src/core/CMakeLists.txt,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** CMakeLists.txt 23 Feb 2004 20:16:43 -0000 1.8
--- CMakeLists.txt 23 Feb 2004 22:36:09 -0000 1.9
***************
*** 45,50 ****
--- 45,59 ----
ENDIF(NOT CMAKE_COMPILER_IS_MINGW)
+ # This is good for VisualStudio ...
+ SOURCE_GROUP(librtk FILES ${RTK_CORE_SFILES})
+
ADD_LIBRARY(${RTK_LIBRTK} STATIC ${RTK_CORE_SFILES})
+ ## FLAGS
+ # How each, separate file in CORE RTK library should be compiles.
+ # ie. which flags should be used.
+ # T0D0: See if there is option for separate CXX and C flags, and use
+ # CXX flags instead.
+ ####################################################################
IF (RTK_OPT_DEBUG)
SET_SOURCE_FILES_PROPERTIES(${RTK_CORE_SFILES}
***************
*** 59,70 ****
)
ENDIF (RTK_OPT_UNICODE)
!
! IF (NOT WIN32)
! INCLUDE(${CMAKE_ROOT}/Modules/CheckIncludeFile.cmake)
! CHECK_INCLUDE_FILE("unistd.h" HAVE_UNISTD_H)
! IF (HAVE_UNISTD_H)
! ADD_DEFINITIONS(-DHAVE_UNISTD_H)
! ENDIF (HAVE_UNISTD_H)
! ENDIF (NOT WIN32)
##
--- 68,81 ----
)
ENDIF (RTK_OPT_UNICODE)
! ############################################################ FLAGS ##
! #########
!
! #########
! ## LOG ############################################################
! IF (RTK_OPT_BCLOG)
! FILE(APPEND ${RTK_BC_LOGFILE} "Files that go into ${RTK_LIBRTK}.a: ${RTK_CORE_SFILES}\n")
! ENDIF (RTK_OPT_BCLOG)
! ############################################################ LOG ##
! #########
##
|