Commit graph

11 commits

Author SHA1 Message Date
Mark Pictor
6c76d7b184 fix potential scl_cf.h problem 2012-04-06 16:35:33 -04:00
Mark Pictor
7b54e23e1a update comment in scl_version_string.h 2012-03-26 20:40:17 -04:00
starseeker
b507ee8179 Two more of Cliff's patches 2012-03-26 20:31:36 -04:00
starseeker
75706a942a starseeker's patch from http://bzflag.bz/~starseeker/scl_cmake_files.patch 2012-03-21 21:18:38 -04:00
tpaviot
f3eab5d91a Added ABI versioning 2012-03-02 07:49:03 +01:00
tpaviot
38d2a49967 Improvements in the cmake builder 2012-03-02 07:49:02 +01:00
Mark Pictor
13204e4027 change scl_version_string.cmake to fix parallel ctest issue
This replaces use of the system time command with __DATE__ and __TIME__

I think the following two errors are caused by fedex_plus being rebuilt for each test:

Linking CXX executable ../../bin/fedex_plus
CMakeFiles/fedex_plus.dir/__/express/fedex.c.o: file not recognized: File truncated

and

[ 87%] Running fedex_plus for AP214E3_2010...
/bin/sh: /opt/step/test-scl/build_ctest/bin/fedex_plus: Text file busy

fedex_plus is being rebuilt because the version string changes, since it contains the date and time.
2011-12-07 18:44:43 -05:00
Mark Pictor
d190a1e042 for version info, read SCL_VERSION.txt if git fails 2011-11-27 11:41:27 -05:00
Mark Pictor
dc30ee21fd Generate version info and timestamp at build time
* Print this info from `p21read -v` and in a comment in generated source, not just from `fedex_plus -v`

* Use a function `const char* scl_version()`, instead of using the macro `SCL_COMMIT_ID`

* Fail gracefully if the `.git` directory does not exist (thanks CY!)

* Fixes issue #89
2011-11-27 11:12:54 -05:00
Mark Pictor
62d80a5c5b missed one path when renaming CMake/ to cmake/ 2011-07-31 13:37:55 -04:00
Mark Pictor
00092d081f cmake: rename BRL-CAD variables, remove unused variable, rename CMake/ to cmake/ 2011-07-31 12:49:32 -04:00