core: sort CMakeLists.txt

sort .c and .cpp files in CMakeLists.txt

The .c and .cpp files in CMakeLists.txt had no obvious sequence,
sorting it at least gives one understandable sequence

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2018-06-16 09:52:01 +02:00 committed by Dirk Hohndel
parent 889a0bb67a
commit 6c9c2168e1

View file

@ -29,25 +29,45 @@ if(BLESUPPORT)
set(BT_CORE_SRC_FILES ${BT_CORE_SRC_FILES} qt-ble.cpp) set(BT_CORE_SRC_FILES ${BT_CORE_SRC_FILES} qt-ble.cpp)
endif() endif()
# compile the core library, in C. # compile the core library part in C, part in C++
set(SUBSURFACE_CORE_LIB_SRCS set(SUBSURFACE_CORE_LIB_SRCS
checkcloudconnection.cpp
cloudstorage.cpp
cochran.c cochran.c
color.cpp
configuredivecomputer.cpp
configuredivecomputerthreads.cpp
connectionlistmodel.cpp
datatrak.c datatrak.c
deco.c deco.c
device.c device.c
devicedetails.cpp
dive.c dive.c
divecomputer.cpp
divelogexportlogic.cpp
divesite.c divesite.c
divesitehelpers.cpp
divesite-helper.cpp divesite-helper.cpp
divelist.c divelist.c
downloadfromdcthread.cpp
equipment.c equipment.c
errorhelper.c errorhelper.c
exif.cpp
file.c file.c
format.cpp
gaspressures.c
gas-model.c gas-model.c
gettextfromc.cpp
git-access.c git-access.c
gpslocation.cpp
imagedownloader.cpp
isocialnetworkintegration.cpp
libdivecomputer.c libdivecomputer.c
liquivision.c liquivision.c
load-git.c load-git.c
membuffer.c membuffer.c
metadata.cpp
metrics.cpp
ostctools.c ostctools.c
parse-xml.c parse-xml.c
parse.c parse.c
@ -58,9 +78,10 @@ set(SUBSURFACE_CORE_LIB_SRCS
import-csv.c import-csv.c
planner.c planner.c
plannernotes.c plannernotes.c
pluginmanager.cpp
profile.c profile.c
gaspressures.c qthelper.cpp
worldmap-save.c qt-init.cpp
save-git.c save-git.c
save-xml.c save-xml.c
save-html.c save-html.c
@ -68,37 +89,14 @@ set(SUBSURFACE_CORE_LIB_SRCS
statistics.c statistics.c
strtod.c strtod.c
subsurfacestartup.c subsurfacestartup.c
subsurfacesysinfo.cpp
taxonomy.c
time.c time.c
uemis.c uemis.c
uemis-downloader.c uemis-downloader.c
version.c version.c
# gettextfrommoc should be added because we are using it on the c-code.
gettextfromc.cpp
# dirk ported some core functionality to c++.
qthelper.cpp
metadata.cpp
format.cpp
divecomputer.cpp
exif.cpp
subsurfacesysinfo.cpp
devicedetails.cpp
configuredivecomputer.cpp
configuredivecomputerthreads.cpp
divesitehelpers.cpp
taxonomy.c
checkcloudconnection.cpp
windowtitleupdate.cpp windowtitleupdate.cpp
divelogexportlogic.cpp worldmap-save.c
qt-init.cpp
metrics.cpp
color.cpp
pluginmanager.cpp
imagedownloader.cpp
isocialnetworkintegration.cpp
gpslocation.cpp
cloudstorage.cpp
downloadfromdcthread.cpp
connectionlistmodel.cpp
#Subsurface Qt have the Subsurface structs QObjectified for easy access via QML. #Subsurface Qt have the Subsurface structs QObjectified for easy access via QML.
subsurface-qt/DiveObjectHelper.cpp subsurface-qt/DiveObjectHelper.cpp