Revision: 40512
http://brlcad.svn.sourceforge.net/brlcad/?rev=40512&view=rev
Author: starseeker
Date: 2010-09-09 14:41:12 +0000 (Thu, 09 Sep 2010)
Log Message:
-----------
Let's not bother with all the fancy stuff in the step build until it's clear
what's going on here
Modified Paths:
--------------
brlcad/branches/cmake/src/other/step/CMakeLists.txt
Modified: brlcad/branches/cmake/src/other/step/CMakeLists.txt
===================================================================
--- brlcad/branches/cmake/src/other/step/CMakeLists.txt 2010-09-09 14:14:10 UTC
(rev 40511)
+++ brlcad/branches/cmake/src/other/step/CMakeLists.txt 2010-09-09 14:41:12 UTC
(rev 40512)
@@ -153,48 +153,6 @@
SCL_TYPE_SIZE("ssize_t" SSIZE_T)
-
-# Generate the include/conf files
-
-# HOST
-configure_file(${SCL_CMAKE_DIR}/test_srcs/report_hostname.c.in
- ${CMAKE_BINARY_DIR}/CMakeTmp/report_hostname.c)
-TRY_RUN(TIME_RESULT TIME_COMPILED
- ${CMAKE_BINARY_DIR}/CMakeTmp
- ${CMAKE_BINARY_DIR}/CMakeTmp/report_hostname.c
- OUTPUT_VARIABLE COMPILEMESSAGES)
-
-# USER
-configure_file(${SCL_CMAKE_DIR}/test_srcs/report_username.c.in
- ${CMAKE_BINARY_DIR}/CMakeTmp/report_username.c)
-TRY_RUN(TIME_RESULT TIME_COMPILED
- ${CMAKE_BINARY_DIR}/CMakeTmp
- ${CMAKE_BINARY_DIR}/CMakeTmp/report_username.c
- OUTPUT_VARIABLE
- COMPILEMESSAGES)
-
-# PATH
-FILE(WRITE ${SCL_BINARY_DIR}/include/conf/PATH "\"${CMAKE_INSTALL_PREFIX}\"")
-
-# COUNT - force CMake to look
-# every time in case of manual
-# removal of COUNT file
-set(countFile "countFile-NOTFOUND" CACHE STRING "Is there a count file?"
FORCE)
-find_file(countFile COUNT PATHS ${SCL_BINARY_DIR}/include/conf)
-if(countFile MATCHES "^countFile-NOTFOUND$")
- set(buildCounter 0)
-else()
- file(READ ${countFile} buildCounter)
- math(EXPR buildCounter "${buildCounter} + 1")
-endif()
-file(WRITE ${SCL_BINARY_DIR}/include/conf/COUNT "${buildCounter}")
-
-# DATE
-file(READ ${CONFIG_TIMESTAMP_FILE} DATESTAMP)
-STRING(STRIP ${DATESTAMP} DATESTAMP)
-file(WRITE ${SCL_BINARY_DIR}/include/conf/DATE "\"${DATESTAMP}\"")
-
-
# Now that all the tests are done, configure the scl_config.h file:
configure_file(${CONFIG_H_FILE} ${SCL_BINARY_DIR}/include/scl_config.h)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits