Commit d0ab8b97 authored by Marcos CARDINOT's avatar Marcos CARDINOT
Browse files

cosmetic fix - fixing indentation of CMakeLists.txt

- This commit aims to fix (ONLY) the indentation of these files, making them more readable
- It is now using a fixed number of spaces (4) to indent everything
parent 392e4280
......@@ -27,16 +27,16 @@ include(ECMAddAppIcon)
# Load the frameworks we need
find_package(KF5 REQUIRED COMPONENTS
Config
Crash
DocTools
WidgetsAddons
NewStuff
I18n
KIO
XmlGui
Plotting
# IconThemes
Config
Crash
DocTools
WidgetsAddons
NewStuff
I18n
KIO
XmlGui
Plotting
# IconThemes
)
find_package(Eigen3 REQUIRED)
......@@ -44,64 +44,68 @@ add_definitions(${EIGEN_DEFINITIONS})
include_directories(${EIGEN3_INCLUDE_DIR})
find_package(CFitsio)
if (CFITSIO_FOUND)
set(HAVE_CFITSIO 1)
if(CFITSIO_FOUND)
set(HAVE_CFITSIO 1)
else(CFITSIO_FOUND)
set(HAVE_CFITSIO 0)
set(HAVE_CFITSIO 0)
endif(CFITSIO_FOUND)
set_package_properties(CFitsio PROPERTIES DESCRIPTION "FITS IO Library" URL "http://heasarc.gsfc.nasa.gov/fitsio/fitsio.html" TYPE OPTIONAL PURPOSE "Support for the FITS (Flexible Image Transport System) data format in KStars.")
find_package(INDI 1.2.0)
#FIXME is there a better way to do this?
if (INDI_FOUND)
#FIXME is the following the right way of doing this?
find_package(KF5 REQUIRED COMPONENTS Notifications)
SET(HAVE_INDI 1)
if(INDI_FOUND)
#FIXME is the following the right way of doing this?
find_package(KF5 REQUIRED COMPONENTS Notifications)
SET(HAVE_INDI 1)
else(INDI_FOUND)
SET(HAVE_INDI 0)
SET(HAVE_INDI 0)
endif(INDI_FOUND)
set_package_properties(INDI PROPERTIES DESCRIPTION "Astronomical instrumentation control" URL "http://www.indilib.org" TYPE OPTIONAL PURPOSE "Support for controlling astronomical devices on Linux with KStars.")
find_package(WCSLIB)
if (WCSLIB_FOUND)
set(HAVE_WCSLIB 1)
if(WCSLIB_FOUND)
set(HAVE_WCSLIB 1)
else(WCSLIB_FOUND)
set(HAVE_WCSLIB 0)
set(HAVE_WCSLIB 0)
endif(WCSLIB_FOUND)
set_package_properties(WCSLIB PROPERTIES DESCRIPTION "World Coordinate System library" URL "http://www.atnf.csiro.au/people/mcalabre/WCS" TYPE OPTIONAL PURPOSE "WCS enables KStars to read and process world coordinate systems in FITS header.")
find_package(Xplanet)
if (XPLANET_FOUND)
set(HAVE_XPLANET 1)
if(XPLANET_FOUND)
set(HAVE_XPLANET 1)
else(XPLANET_FOUND)
set(HAVE_XPLANET 0)
set(HAVE_XPLANET 0)
endif(XPLANET_FOUND)
set_package_properties(Xplanet PROPERTIES DESCRIPTION "Renders an image of all the major planets and most satellites" URL "http://xplanet.sourceforge.net" TYPE OPTIONAL PURPOSE "Gives KStars support for xplanet.")
find_package(AstrometryNet)
if (ASTROMETRYNET_FOUND)
set(HAVE_ASTROMETRYNET 1)
if(ASTROMETRYNET_FOUND)
set(HAVE_ASTROMETRYNET 1)
else(ASTROMETRYNET_FOUND)
set(HAVE_ASTROMETRYNET 0)
set(HAVE_ASTROMETRYNET 0)
endif(ASTROMETRYNET_FOUND)
set_package_properties(AstrometryNet PROPERTIES DESCRIPTION "Astrometrics Library" URL "http://www.astrometry.net" TYPE OPTIONAL PURPOSE "Support for plate solving in KStars.")
find_package(OpenGL)
set_package_properties(OpenGL PROPERTIES DESCRIPTION "Open Graphics Library" URL "http://www.opengl.org" TYPE OPTIONAL PURPOSE "Support for hardware rendering in KStars.")
if (${KF5_VERSION} VERSION_EQUAL 5.18.0 OR ${KF5_VERSION} VERSION_GREATER 5.18.0)
SET(HAVE_KF5WIT 1)
if(${KF5_VERSION} VERSION_EQUAL 5.18.0 OR ${KF5_VERSION} VERSION_GREATER 5.18.0)
SET(HAVE_KF5WIT 1)
else()
SET(HAVE_KF5WIT 0)
SET(HAVE_KF5WIT 0)
endif()
add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -Dfexceptions)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config-kstars.h.cmake
${CMAKE_CURRENT_BINARY_DIR}/config-kstars.h )
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/config-kstars.h.cmake
${CMAKE_CURRENT_BINARY_DIR}/config-kstars.h
)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/kstars/version.h.cmake
${CMAKE_CURRENT_BINARY_DIR}/kstars/version.h )
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/kstars/version.h.cmake
${CMAKE_CURRENT_BINARY_DIR}/kstars/version.h
)
# let our config.h be found first in any case
include_directories (BEFORE ${CMAKE_CURRENT_BINARY_DIR})
......
This diff is collapsed.
########### install files ###############
install( FILES
install(FILES
kstars.png
geomap.png
citydb.sqlite
......@@ -16,219 +16,223 @@ install( FILES
lmc.dat
smc.dat
cbounds.dat
cbounds-3.idx cbounds-4.idx cbounds-5.idx cbounds-6.idx
image_url.dat info_url.dat
mercury.L0.vsop mercury.L1.vsop mercury.L2.vsop mercury.L3.vsop
mercury.L4.vsop mercury.L5.vsop mercury.B0.vsop mercury.B1.vsop
mercury.B2.vsop mercury.B3.vsop mercury.B4.vsop mercury.B5.vsop
mercury.R0.vsop mercury.R1.vsop mercury.R2.vsop mercury.R3.vsop
mercury.R4.vsop mercury.R5.vsop
venus.L0.vsop venus.L1.vsop venus.L2.vsop venus.L3.vsop
venus.L4.vsop venus.L5.vsop venus.B0.vsop venus.B1.vsop
venus.B2.vsop venus.B3.vsop venus.B4.vsop venus.B5.vsop
venus.R0.vsop venus.R1.vsop venus.R2.vsop venus.R3.vsop
venus.R4.vsop venus.R5.vsop
earth.L0.vsop earth.L1.vsop earth.L2.vsop earth.L3.vsop
earth.L4.vsop earth.L5.vsop earth.B0.vsop earth.B1.vsop
earth.B2.vsop earth.B3.vsop earth.B4.vsop earth.R0.vsop
earth.R1.vsop earth.R2.vsop earth.R3.vsop earth.R4.vsop
earth.R5.vsop
moonB.dat moonLR.dat
mars.L0.vsop mars.L1.vsop mars.L2.vsop mars.L3.vsop mars.L4.vsop
mars.L5.vsop mars.B0.vsop mars.B1.vsop mars.B2.vsop mars.B3.vsop
mars.B4.vsop mars.B5.vsop mars.R0.vsop mars.R1.vsop mars.R2.vsop
mars.R3.vsop mars.R4.vsop mars.R5.vsop
jupiter.L0.vsop jupiter.L1.vsop jupiter.L2.vsop jupiter.L3.vsop
jupiter.L4.vsop jupiter.L5.vsop jupiter.B0.vsop jupiter.B1.vsop
jupiter.B2.vsop jupiter.B3.vsop jupiter.B4.vsop jupiter.B5.vsop
jupiter.R0.vsop jupiter.R1.vsop jupiter.R2.vsop jupiter.R3.vsop
jupiter.R4.vsop jupiter.R5.vsop
saturn.L0.vsop saturn.L1.vsop saturn.L2.vsop saturn.L3.vsop
saturn.L4.vsop saturn.L5.vsop saturn.B0.vsop saturn.B1.vsop
saturn.B2.vsop saturn.B3.vsop saturn.B4.vsop saturn.B5.vsop
saturn.R0.vsop saturn.R1.vsop saturn.R2.vsop saturn.R3.vsop
saturn.R4.vsop saturn.R5.vsop
uranus.L0.vsop uranus.L1.vsop uranus.L2.vsop uranus.L3.vsop
uranus.L4.vsop uranus.L5.vsop uranus.B0.vsop uranus.B1.vsop
uranus.B2.vsop uranus.B3.vsop uranus.B4.vsop uranus.R0.vsop
uranus.R1.vsop uranus.R2.vsop uranus.R3.vsop uranus.R4.vsop
neptune.L0.vsop neptune.L1.vsop neptune.L2.vsop neptune.L3.vsop
neptune.L4.vsop neptune.L5.vsop neptune.B0.vsop neptune.B1.vsop
neptune.B2.vsop neptune.B3.vsop neptune.B4.vsop neptune.B5.vsop
neptune.R0.vsop neptune.R1.vsop neptune.R2.vsop neptune.R3.vsop
neptune.R4.vsop
mercury.orbit venus.orbit earth.orbit mars.orbit jupiter.orbit
saturn.orbit uranus.orbit neptune.orbit pluto.orbit
asteroids.dat comets.dat
wzstars.png wzgeo.png wzscope.png wzdownload.png chart.colors
classic.colors moonless-night.colors night.colors
tips TZrules.dat valaav.txt Interesting.dat PlanetFacts.dat
cbounds-3.idx cbounds-4.idx cbounds-5.idx cbounds-6.idx
image_url.dat info_url.dat
mercury.L0.vsop mercury.L1.vsop mercury.L2.vsop mercury.L3.vsop
mercury.L4.vsop mercury.L5.vsop mercury.B0.vsop mercury.B1.vsop
mercury.B2.vsop mercury.B3.vsop mercury.B4.vsop mercury.B5.vsop
mercury.R0.vsop mercury.R1.vsop mercury.R2.vsop mercury.R3.vsop
mercury.R4.vsop mercury.R5.vsop
venus.L0.vsop venus.L1.vsop venus.L2.vsop venus.L3.vsop
venus.L4.vsop venus.L5.vsop venus.B0.vsop venus.B1.vsop
venus.B2.vsop venus.B3.vsop venus.B4.vsop venus.B5.vsop
venus.R0.vsop venus.R1.vsop venus.R2.vsop venus.R3.vsop
venus.R4.vsop venus.R5.vsop
earth.L0.vsop earth.L1.vsop earth.L2.vsop earth.L3.vsop
earth.L4.vsop earth.L5.vsop earth.B0.vsop earth.B1.vsop
earth.B2.vsop earth.B3.vsop earth.B4.vsop earth.R0.vsop
earth.R1.vsop earth.R2.vsop earth.R3.vsop earth.R4.vsop
earth.R5.vsop
moonB.dat moonLR.dat
mars.L0.vsop mars.L1.vsop mars.L2.vsop mars.L3.vsop mars.L4.vsop
mars.L5.vsop mars.B0.vsop mars.B1.vsop mars.B2.vsop mars.B3.vsop
mars.B4.vsop mars.B5.vsop mars.R0.vsop mars.R1.vsop mars.R2.vsop
mars.R3.vsop mars.R4.vsop mars.R5.vsop
jupiter.L0.vsop jupiter.L1.vsop jupiter.L2.vsop jupiter.L3.vsop
jupiter.L4.vsop jupiter.L5.vsop jupiter.B0.vsop jupiter.B1.vsop
jupiter.B2.vsop jupiter.B3.vsop jupiter.B4.vsop jupiter.B5.vsop
jupiter.R0.vsop jupiter.R1.vsop jupiter.R2.vsop jupiter.R3.vsop
jupiter.R4.vsop jupiter.R5.vsop
saturn.L0.vsop saturn.L1.vsop saturn.L2.vsop saturn.L3.vsop
saturn.L4.vsop saturn.L5.vsop saturn.B0.vsop saturn.B1.vsop
saturn.B2.vsop saturn.B3.vsop saturn.B4.vsop saturn.B5.vsop
saturn.R0.vsop saturn.R1.vsop saturn.R2.vsop saturn.R3.vsop
saturn.R4.vsop saturn.R5.vsop
uranus.L0.vsop uranus.L1.vsop uranus.L2.vsop uranus.L3.vsop
uranus.L4.vsop uranus.L5.vsop uranus.B0.vsop uranus.B1.vsop
uranus.B2.vsop uranus.B3.vsop uranus.B4.vsop uranus.R0.vsop
uranus.R1.vsop uranus.R2.vsop uranus.R3.vsop uranus.R4.vsop
neptune.L0.vsop neptune.L1.vsop neptune.L2.vsop neptune.L3.vsop
neptune.L4.vsop neptune.L5.vsop neptune.B0.vsop neptune.B1.vsop
neptune.B2.vsop neptune.B3.vsop neptune.B4.vsop neptune.B5.vsop
neptune.R0.vsop neptune.R1.vsop neptune.R2.vsop neptune.R3.vsop
neptune.R4.vsop
mercury.orbit venus.orbit earth.orbit mars.orbit jupiter.orbit
saturn.orbit uranus.orbit neptune.orbit pluto.orbit
asteroids.dat comets.dat
wzstars.png wzgeo.png wzscope.png wzdownload.png chart.colors
classic.colors moonless-night.colors night.colors
tips TZrules.dat valaav.txt Interesting.dat PlanetFacts.dat
advinterface.dat satellites.dat histogram.png noimage.png go-nw.png go-ne.png go-sw.png go-se.png glossary.xml defaultflag.gif
DESTINATION ${KDE_INSTALL_DATADIR}/kstars
DESTINATION ${KDE_INSTALL_DATADIR}/kstars
)
install( FILES KDE-KStars-Alert.ogg KDE-KStars-Warning.ogg DESTINATION ${KDE_INSTALL_DATADIR}/sounds )
install( FILES textures/star.png
textures/galaxy.png
textures/open-cluster.png
textures/globular-cluster.png
textures/galaxy-cluster.png
textures/gaseous-nebula.png
textures/planetary-nebula.png
textures/obslistsymbol.png
textures/sun.png
textures/mercury.png
textures/venus.png
textures/mars.png
textures/jupiter.png
textures/saturn.png
textures/uranus.png
textures/neptune.png
textures/pluto.png
textures/moon00.png
textures/moon01.png
textures/moon02.png
textures/moon03.png
textures/moon04.png
textures/moon05.png
textures/moon06.png
textures/moon07.png
textures/moon08.png
textures/moon09.png
textures/moon10.png
textures/moon11.png
textures/moon12.png
textures/moon13.png
textures/moon14.png
textures/moon15.png
textures/moon16.png
textures/moon17.png
textures/moon18.png
textures/moon19.png
textures/moon20.png
textures/moon21.png
textures/moon22.png
textures/moon23.png
textures/moon24.png
textures/moon25.png
textures/moon26.png
textures/moon27.png
textures/moon28.png
textures/moon29.png
textures/moon30.png
textures/moon31.png
textures/moon32.png
textures/moon33.png
textures/moon34.png
textures/moon35.png
textures/defaultflag.png
DESTINATION ${KDE_INSTALL_DATADIR}/kstars/textures )
install ( FILES scripts/supernova_updates_parser.py
DESTINATION ${KDE_INSTALL_DATADIR}/kstars/scripts )
install( FILES skycultures/western/andromeda.png
skycultures/western/antlia.png
skycultures/western/apus.png
skycultures/western/aquarius.png
skycultures/western/aquila.png
skycultures/western/ara.png
skycultures/western/argonavis.png
skycultures/western/aries.png
skycultures/western/auriga.png
skycultures/western/bootes.png
skycultures/western/caelum.png
skycultures/western/camelopardalis.png
skycultures/western/cancer.png
skycultures/western/canes-venatici.png
skycultures/western/canis-major.png
skycultures/western/canis-minor.png
skycultures/western/capricornus.png
skycultures/western/cassiopeia.png
skycultures/western/centaurus.png
skycultures/western/cepheus.png
skycultures/western/cetus.png
skycultures/western/chamaeleon.png
skycultures/western/circinus.png
skycultures/western/columba.png
skycultures/western/coma-berenices.png
skycultures/western/corona-australis.png
skycultures/western/corona-borealis.png
skycultures/western/corvus.png
skycultures/western/crater.png
skycultures/western/crux.png
skycultures/western/cygnus.png
skycultures/western/delphinus.png
skycultures/western/dorado.png
skycultures/western/draco.png
skycultures/western/equuleus.png
skycultures/western/eridanus.png
skycultures/western/fornax.png
skycultures/western/gemini.png
skycultures/western/grus.png
skycultures/western/hercules.png
skycultures/western/horlogium.png
skycultures/western/hydra.png
skycultures/western/hydrus.png
skycultures/western/indus.png
skycultures/western/lacerta.png
skycultures/western/leo-minor.png
skycultures/western/leo.png
skycultures/western/lepus.png
skycultures/western/libra.png
skycultures/western/lupus.png
skycultures/western/lynx.png
skycultures/western/lyra.png
skycultures/western/mensa.png
skycultures/western/microscopium.png
skycultures/western/monoceros.png
skycultures/western/musca.png
skycultures/western/norma.png
skycultures/western/octans.png
skycultures/western/ophiuchus.png
skycultures/western/orion.png
skycultures/western/pavo.png
skycultures/western/pegasus.png
skycultures/western/perseus.png
skycultures/western/phoenix.png
skycultures/western/pictor.png
skycultures/western/pisces.png
skycultures/western/piscis-austrinus.png
skycultures/western/pyxis.png
skycultures/western/reticulum.png
skycultures/western/sagitta.png
skycultures/western/sagittarius.png
skycultures/western/scorpius.png
skycultures/western/sculptor.png
skycultures/western/scutum.png
skycultures/western/sextans.png
skycultures/western/taurus.png
skycultures/western/telescopium.png
skycultures/western/triangulum-australe.png
skycultures/western/triangulum.png
skycultures/western/tucana.png
skycultures/western/ursa-major.png
skycultures/western/ursa-minor.png
skycultures/western/virgo.png
skycultures/western/volans.png
skycultures/western/vulpecula.png
DESTINATION ${KDE_INSTALL_DATADIR}/kstars/skycultures/western )
install( FILES skycultures/inuit/blubber-container.png
skycultures/inuit/breastbone.png
skycultures/inuit/caribou.png
skycultures/inuit/collarbones.png
skycultures/inuit/dogs.png
skycultures/inuit/lamp-stand.png
skycultures/inuit/runners.png
skycultures/inuit/the-one-behind.png
skycultures/inuit/two-in-front.png
skycultures/inuit/two-placed-far-apart.png
skycultures/inuit/two-sunbeams.png
DESTINATION ${KDE_INSTALL_DATADIR}/kstars/skycultures/inuit )
install(FILES
textures/star.png
textures/galaxy.png
textures/open-cluster.png
textures/globular-cluster.png
textures/galaxy-cluster.png
textures/gaseous-nebula.png
textures/planetary-nebula.png
textures/obslistsymbol.png
textures/sun.png
textures/mercury.png
textures/venus.png
textures/mars.png
textures/jupiter.png
textures/saturn.png
textures/uranus.png
textures/neptune.png
textures/pluto.png
textures/moon00.png
textures/moon01.png
textures/moon02.png
textures/moon03.png
textures/moon04.png
textures/moon05.png
textures/moon06.png
textures/moon07.png
textures/moon08.png
textures/moon09.png
textures/moon10.png
textures/moon11.png
textures/moon12.png
textures/moon13.png
textures/moon14.png
textures/moon15.png
textures/moon16.png
textures/moon17.png
textures/moon18.png
textures/moon19.png
textures/moon20.png
textures/moon21.png
textures/moon22.png
textures/moon23.png
textures/moon24.png
textures/moon25.png
textures/moon26.png
textures/moon27.png
textures/moon28.png
textures/moon29.png
textures/moon30.png
textures/moon31.png
textures/moon32.png
textures/moon33.png
textures/moon34.png
textures/moon35.png
textures/defaultflag.png
DESTINATION ${KDE_INSTALL_DATADIR}/kstars/textures
)
install(FILES
scripts/supernova_updates_parser.py
DESTINATION ${KDE_INSTALL_DATADIR}/kstars/scripts
)
install(FILES
skycultures/western/andromeda.png
skycultures/western/antlia.png
skycultures/western/apus.png
skycultures/western/aquarius.png
skycultures/western/aquila.png
skycultures/western/ara.png
skycultures/western/argonavis.png
skycultures/western/aries.png
skycultures/western/auriga.png
skycultures/western/bootes.png
skycultures/western/caelum.png
skycultures/western/camelopardalis.png
skycultures/western/cancer.png
skycultures/western/canes-venatici.png
skycultures/western/canis-major.png
skycultures/western/canis-minor.png
skycultures/western/capricornus.png
skycultures/western/cassiopeia.png
skycultures/western/centaurus.png
skycultures/western/cepheus.png
skycultures/western/cetus.png
skycultures/western/chamaeleon.png
skycultures/western/circinus.png
skycultures/western/columba.png
skycultures/western/coma-berenices.png
skycultures/western/corona-australis.png
skycultures/western/corona-borealis.png
skycultures/western/corvus.png
skycultures/western/crater.png
skycultures/western/crux.png
skycultures/western/cygnus.png
skycultures/western/delphinus.png
skycultures/western/dorado.png
skycultures/western/draco.png
skycultures/western/equuleus.png
skycultures/western/eridanus.png
skycultures/western/fornax.png
skycultures/western/gemini.png
skycultures/western/grus.png
skycultures/western/hercules.png
skycultures/western/horlogium.png
skycultures/western/hydra.png
skycultures/western/hydrus.png
skycultures/western/indus.png
skycultures/western/lacerta.png
skycultures/western/leo-minor.png
skycultures/western/leo.png
skycultures/western/lepus.png
skycultures/western/libra.png
skycultures/western/lupus.png
skycultures/western/lynx.png
skycultures/western/lyra.png
skycultures/western/mensa.png
skycultures/western/microscopium.png
skycultures/western/monoceros.png
skycultures/western/musca.png
skycultures/western/norma.png
skycultures/western/octans.png
skycultures/western/ophiuchus.png
skycultures/western/orion.png
skycultures/western/pavo.png
skycultures/western/pegasus.png
skycultures/western/perseus.png
skycultures/western/phoenix.png
skycultures/western/pictor.png
skycultures/western/pisces.png
skycultures/western/piscis-austrinus.png
skycultures/western/pyxis.png
skycultures/western/reticulum.png
skycultures/western/sagitta.png
skycultures/western/sagittarius.png
skycultures/western/scorpius.png
skycultures/western/sculptor.png
skycultures/western/scutum.png
skycultures/western/sextans.png
skycultures/western/taurus.png
skycultures/western/telescopium.png
skycultures/western/triangulum-australe.png
skycultures/western/triangulum.png
skycultures/western/tucana.png
skycultures/western/ursa-major.png
skycultures/western/ursa-minor.png
skycultures/western/virgo.png
skycultures/western/volans.png
skycultures/western/vulpecula.png
DESTINATION ${KDE_INSTALL_DATADIR}/kstars/skycultures/western
)
install(FILES
skycultures/inuit/blubber-container.png
skycultures/inuit/breastbone.png
skycultures/inuit/caribou.png
skycultures/inuit/collarbones.png
skycultures/inuit/dogs.png
skycultures/inuit/lamp-stand.png
skycultures/inuit/runners.png
skycultures/inuit/the-one-behind.png
skycultures/inuit/two-in-front.png
skycultures/inuit/two-placed-far-apart.png
skycultures/inuit/two-sunbeams.png
DESTINATION ${KDE_INSTALL_DATADIR}/kstars/skycultures/inuit
)
......@@ -5,27 +5,27 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config-htmesh.h.cmake ${CMAKE_CURRENT
### HTMesh library
set(HTMesh_LIB_SRCS
${kstars_SOURCE_DIR}/kstars/htmesh/MeshIterator.cpp
${kstars_SOURCE_DIR}/kstars/htmesh/HtmRange.cpp
${kstars_SOURCE_DIR}/kstars/htmesh/HtmRangeIterator.cpp
${kstars_SOURCE_DIR}/kstars/htmesh/RangeConvex.cpp
${kstars_SOURCE_DIR}/kstars/htmesh/SkipList.cpp
${kstars_SOURCE_DIR}/kstars/htmesh/SkipListElement.cpp
${kstars_SOURCE_DIR}/kstars/htmesh/SpatialConstraint.cpp
# ${kstars_SOURCE_DIR}/kstars/htmesh/SpatialDomain.cpp
${kstars_SOURCE_DIR}/kstars/htmesh/SpatialEdge.cpp
${kstars_SOURCE_DIR}/kstars/htmesh/SpatialException.cpp
${kstars_SOURCE_DIR}/kstars/htmesh/SpatialIndex.cpp
${kstars_SOURCE_DIR}/kstars/htmesh/SpatialVector.cpp
${kstars_SOURCE_DIR}/kstars/htmesh/HTMesh.cpp
${kstars_SOURCE_DIR}/kstars/htmesh/MeshBuffer.cpp
${kstars_SOURCE_DIR}/kstars/htmesh/MeshIterator.cpp
${kstars_SOURCE_DIR}/kstars/htmesh/cc_aux.c
${kstars_SOURCE_DIR}/kstars/htmesh/MeshIterator.cpp
${kstars_SOURCE_DIR}/kstars/htmesh/HtmRange.cpp
${kstars_SOURCE_DIR}/kstars/htmesh/HtmRangeIterator.cpp
${kstars_SOURCE_DIR}/kstars/htmesh/RangeConvex.cpp
${kstars_SOURCE_DIR}/kstars/htmesh/SkipList.cpp
${kstars_SOURCE_DIR}/kstars/htmesh/SkipListElement.cpp
${kstars_SOURCE_DIR}/kstars/htmesh/SpatialConstraint.cpp
# ${kstars_SOURCE_DIR}/kstars/htmesh/SpatialDomain.cpp
${kstars_SOURCE_DIR}/kstars/htmesh/SpatialEdge.cpp
${kstars_SOURCE_DIR}/kstars/htmesh/SpatialException.cpp
${kstars_SOURCE_DIR}/kstars/htmesh/SpatialIndex.cpp
${kstars_SOURCE_DIR}/kstars/htmesh/SpatialVector.cpp
${kstars_SOURCE_DIR}/kstars/htmesh/HTMesh.cpp
${kstars_SOURCE_DIR}/kstars/htmesh/MeshBuffer.cpp
${kstars_SOURCE_DIR}/kstars/htmesh/MeshIterator.cpp
${kstars_SOURCE_DIR}/kstars/htmesh/cc_aux.c
)
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
#TODO is there KF5_ENABLE_EXCEPTIONS?
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions")
add_library(htmesh STATIC ${HTMesh_LIB_SRCS})
......
#FIXME The following doesn't work, cmake complains of "group (action) is not recognized".
ecm_install_icons(ICONS
22-actions-kstars_cbound.png
22-actions-kstars_clines.png
22-actions-kstars_cnames.png
22-actions-kstars_constellationart.png
22-actions-kstars_deepsky.png
22-actions-kstars_flag.png
22-actions-kstars_grid.png
22-actions-kstars_hgrid.png
22-actions-kstars_horizon.png
22-actions-kstars_mw.png
22-actions-kstars_planets.png
22-actions-kstars_satellites.png
22-actions-kstars_stars.png
22-actions-kstars_supernovae.png
22-actions-kstars_ekos.png
22-actions-kstars_indi.png
22-actions-kstars_fitsviewer.png
22-actions-kstars_ekos_setup.png
22-actions-kstars_ekos_scheduler.png
22-actions-kstars_ekos_ccd.png
22-actions-kstars_ekos_mount.png
22-actions-kstars_ekos_focus.png
22-actions-kstars_ekos_align.png
22-actions-kstars_ekos_guide.png
22-actions-kstars_fov.png
32-actions-kstars_clines.png
32-actions-kstars_cnames.png
32-actions-kstars_constellationart.png
32-actions-kstars_deepsky.png
32-actions-kstars_flag.png
32-actions-kstars_grid.png
32-actions-kstars_hgrid.png
32-actions-kstars_horizon.png