Revision: 55068
          http://brlcad.svn.sourceforge.net/brlcad/?rev=55068&view=rev
Author:   starseeker
Date:     2013-04-05 17:56:41 +0000 (Fri, 05 Apr 2013)
Log Message:
-----------
Re-indent and simplify header CMakeLists.txt

Modified Paths:
--------------
    brlcad/trunk/include/CMakeLists.txt

Modified: brlcad/trunk/include/CMakeLists.txt
===================================================================
--- brlcad/trunk/include/CMakeLists.txt 2013-04-05 16:29:11 UTC (rev 55067)
+++ brlcad/trunk/include/CMakeLists.txt 2013-04-05 17:56:41 UTC (rev 55068)
@@ -1,112 +1,103 @@
-set(brlcadinclude_required
-       ${CMAKE_CURRENT_BINARY_DIR}/brlcad_config.h
-       RtServerImpl.h
-       bn.h
-       bu.h
-       common.h
-       ged.h
-       magic.h
-       pstdint.h
-       raytrace.h
-       rt/defines.h
-       rtfunc.h
-       rtgeom.h
-       rtserver.h
-       tclcad.h
-)
+set(include_hdrs
+  ${CMAKE_CURRENT_BINARY_DIR}/brlcad_config.h
+  RtServerImpl.h
+  bn.h
+  bu.h
+  common.h
+  ged.h
+  magic.h
+  pstdint.h
+  raytrace.h
+  rt/defines.h
+  rtfunc.h
+  rtgeom.h
+  rtserver.h
+  tclcad.h
+  analyze.h
+  anim.h
+  bot.h
+  brep.h
+  brlcad.h
+  brlcad.i
+  cmd.h
+  db.h
+  db5.h
+  dg.h
+  dm-Null.h
+  dm-X.h
+  dm-glx.h
+  dm-ogl.h
+  dm-pex.h
+  dm-plot.h
+  dm-ps.h
+  dm-rtgl.h
+  dm-tk.h
+  dm-wgl.h
+  dm.h
+  dm_color.h
+  dm_xvars.h
+  dvec.h
+  fb.h
+  fbio.h
+  fbserv_obj.h
+  fft.h
+  gcv.h
+  icv.h
+  libtermio.h
+  light.h
+  mater.h
+  nmg.h
+  nurb.h
+  obj.h
+  optical.h
+  orle.h
+  photonmap.h
+  pc.h
+  pkg.h
+  plastic.h
+  plot3.h
+  redblack.h
+  shadefuncs.h
+  shadework.h
+  solid.h
+  spectrum.h
+  spm.h
+  tie.h
+  tol.h
+  vectfont.h
+  vector_fpu.h
+  vector_x86.h
+  vfont-if.h
+  vmath.h
+  wdb.h
+  )
 if(WIN32)
-       set(brlcadinclude_required ${brlcadinclude_required} 
${CMAKE_CURRENT_BINARY_DIR}/config_win_cmake.h)
+  set(include_hdrs ${include_hdrs} 
${CMAKE_CURRENT_BINARY_DIR}/config_win_cmake.h)
 endif(WIN32)
+install(FILES ${include_hdrs} DESTINATION include/brlcad)
 
-set(brlcadinclude_wanted
-       analyze.h
-       anim.h
-       bot.h
-       brep.h
-       brlcad.h
-       brlcad.i
-       cmd.h
-       db.h
-       db5.h
-       dg.h
-       dm-Null.h
-       dm-X.h
-       dm-glx.h
-       dm-ogl.h
-       dm-pex.h
-       dm-plot.h
-       dm-ps.h
-       dm-rtgl.h
-       dm-tk.h
-       dm-wgl.h
-       dm.h
-       dm_color.h
-       dm_xvars.h
-       dvec.h
-       fb.h
-       fbio.h
-       fbserv_obj.h
-       fft.h
-       gcv.h
-       icv.h
-       libtermio.h
-       light.h
-       mater.h
-       nmg.h
-       nurb.h
-       obj.h
-       optical.h
-       orle.h
-       photonmap.h
-       pc.h
-       pkg.h
-       plastic.h
-       plot3.h
-       redblack.h
-       shadefuncs.h
-       shadework.h
-       solid.h
-       spectrum.h
-       spm.h
-       tie.h
-       tol.h
-       vectfont.h
-       vector_fpu.h
-       vector_x86.h
-       vfont-if.h
-       vmath.h
-       wdb.h
-)
-
 # headers used by multiple packages but still considered private.
 # public headers should NOT include these headers.
-set(brlcadnoinst_HEADERS
-       bin.h
-       bio.h
-       brlcad_version.h
-       bselect.h
-       conf.h
-       fbmsg.h
-       sysv.h
-)
+set(noinst_HEADERS
+  bin.h
+  bio.h
+  brlcad_version.h
+  bselect.h
+  conf.h
+  fbmsg.h
+  sysv.h
+  )
 
-set(brlcadinclude_misc
-       conf
-       config_win.h
-       config_win_cmake.h.in
-       )
+set(include_misc
+  conf
+  config_win.h
+  config_win_cmake.h.in
+  )
 
-install(FILES ${brlcadinclude_required} DESTINATION include/brlcad)
-
-
-if(NOT BRLCAD_BUILD_BENCHMARK_ONLY AND NOT BRLCAD_BUILD_RTSERVER_ONLY)
-       install(FILES ${brlcadinclude_wanted} DESTINATION include/brlcad)
-endif(NOT BRLCAD_BUILD_BENCHMARK_ONLY AND NOT BRLCAD_BUILD_RTSERVER_ONLY)
-
-CMAKEFILES(${brlcadinclude_required})
-CMAKEFILES(${brlcadinclude_wanted})
-CMAKEFILES(${brlcadnoinst_HEADERS})
-CMAKEFILES(${brlcadinclude_misc})
+CMAKEFILES(${include_required})
+CMAKEFILES(${include_wanted})
+CMAKEFILES(${noinst_HEADERS})
+CMAKEFILES(${include_misc})
 CMAKEFILES(Makefile.am)
 
 # Local Variables:

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


------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to