Revision: 75896
http://sourceforge.net/p/brlcad/code/75896
Author: starseeker
Date: 2020-05-23 17:03:59 +0000 (Sat, 23 May 2020)
Log Message:
-----------
header
Modified Paths:
--------------
brlcad/branches/bioh/misc/CMake/wsysstring.cpp
Modified: brlcad/branches/bioh/misc/CMake/wsysstring.cpp
===================================================================
--- brlcad/branches/bioh/misc/CMake/wsysstring.cpp 2020-05-23 17:01:14 UTC
(rev 75895)
+++ brlcad/branches/bioh/misc/CMake/wsysstring.cpp 2020-05-23 17:03:59 UTC
(rev 75896)
@@ -1,3 +1,19 @@
+/* W S Y S S T R I N G . C P P
+ * BRL-CAD
+ *
+ * Published in 2020 by the United States Government.
+ * This work is in the public domain.
+ *
+ */
+/** @file wsysstring.cpp
+ *
+ * This is an attempt to work around a problem with Tcl/Tk. The public Tk C
+ * api doesn't provide a way to get at the compiled graphics subsystem choice
+ * without trying to initalize a Tk window, which won't work in headless
+ * configurations such as build farms. So instead we introspect looking for
+ * the key printable strings that can tell us what we've got.
+ */
+
#include <fstream>
#include <iostream>
#include <cstring>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits