Revision: 40697
          http://brlcad.svn.sourceforge.net/brlcad/?rev=40697&view=rev
Author:   davidloman
Date:     2010-09-27 14:51:05 +0000 (Mon, 27 Sep 2010)

Log Message:
-----------
Stub in basic libNetTest.  Cmake mods and svn:ignore included!

Modified Paths:
--------------
    rt^3/trunk/tests/libNet/CMakeLists.txt

Added Paths:
-----------
    rt^3/trunk/tests/libNet/libNetTest.cxx

Property Changed:
----------------
    rt^3/trunk/tests/libNet/


Property changes on: rt^3/trunk/tests/libNet
___________________________________________________________________
Modified: svn:ignore
   - CMakeFiles
netMsgFactoryTest
netMsgSerialTest
netPortalManagerTest
cmake_install.cmake
Makefile
moc_*.cxx
*.so
moc_*
*.dll
*.a
*.exe
*.backup
gatewayTest

   + CMakeFiles
netMsgFactoryTest
netMsgSerialTest
netPortalManagerTest
cmake_install.cmake
Makefile
moc_*.cxx
*.so
moc_*
*.dll
*.a
*.exe
*.backup
gatewayTest
libNetTest


Modified: rt^3/trunk/tests/libNet/CMakeLists.txt
===================================================================
--- rt^3/trunk/tests/libNet/CMakeLists.txt      2010-09-27 13:54:49 UTC (rev 
40696)
+++ rt^3/trunk/tests/libNet/CMakeLists.txt      2010-09-27 14:51:05 UTC (rev 
40697)
@@ -44,8 +44,6 @@
     ${_BRLCAD_LIBRARY_bu}
 )
 
-MESSAGE(STATUS "_BRLCAD_LIBRARY_pkg:    ${_BRLCAD_LIBRARY_pkg}")
-
 #set Source files
 RT3_PROJECT_ADD_SOURCES ( netMsgSerialTest.cxx )
 
@@ -65,3 +63,42 @@
 RT3_PROJECT_BUILD_EXE()
 
 
+##########################################################################
+
+RT3_PROJECT(libNetTest)
+
+#Set Include Dirs
+RT3_PROJECT_ADD_INCLUDE_DIRS(
+    ${QT_INCLUDE_DIR}
+    ${BRLCAD_INC_DIRS}
+)
+
+#Set Libs
+RT3_PROJECT_ADD_LIBS(
+    net
+    pkgcpp
+    utility
+    ${QT_LIBRARIES}
+    ${_BRLCAD_LIBRARY_pkg}
+    ${_BRLCAD_LIBRARY_bu}
+)
+
+#set Source files
+RT3_PROJECT_ADD_SOURCES ( libNetTest.cxx )
+
+#Set INST Headers
+RT3_PROJECT_ADD_INST_HEADERS()
+
+#Set NOINST headers
+RT3_PROJECT_ADD_NOINST_HEADERS()
+
+#Set QT INST headers
+RT3_PROJECT_ADD_QT_INST_HEADERS()
+
+#Set QT NOINST headers
+RT3_PROJECT_ADD_QT_NOINST_HEADERS()
+
+#Build the project
+RT3_PROJECT_BUILD_EXE()
+
+

Added: rt^3/trunk/tests/libNet/libNetTest.cxx
===================================================================
--- rt^3/trunk/tests/libNet/libNetTest.cxx                              (rev 0)
+++ rt^3/trunk/tests/libNet/libNetTest.cxx      2010-09-27 14:51:05 UTC (rev 
40697)
@@ -0,0 +1,62 @@
+/*                  L I B N E T T E S T . C X X
+ * BRL-CAD
+ *
+ * Copyright (c) 2010 United States Government as represented by
+ * the U.S. Army Research Laboratory.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this file; see the file named COPYING for more
+ * information.
+ */
+/** @file libNetTest.cxx
+ *
+ * Brief description
+ *
+ */
+
+
+#include "libnet.h"
+#include "libutility.h"
+
+#include <string>
+
+#include <QtCore/QDataStream>
+#include <QtCore/QString>
+
+void logInfo(QString s) {
+       Logger::getInstance()->logINFO("libNetTest", s);
+}
+void logBanner(QString s) {
+       Logger::getInstance()->logBANNER("libNetTest", s);
+}
+
+/* 
+ * =====================
+ *
+ *        Main
+ *
+ * =====================
+ */
+
+int main(int argc, char* argv[]) {
+
+
+       return 0;
+}
+
+// Local Variables: ***
+// mode: C++ ***
+// tab-width: 8 ***
+// c-basic-offset: 2 ***
+// indent-tabs-mode: t ***
+// End: ***
+// ex: shiftwidth=2 tabstop=8


Property changes on: rt^3/trunk/tests/libNet/libNetTest.cxx
___________________________________________________________________
Added: svn:mime-type
   + text/plain
Added: svn:keywords
   + Revision Date Author
Added: svn:eol-style
   + native


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to