project: don't compile source files twice

We can just link with the private library, and use the
main file to make it an executable. This drops the compile
time by 43% here.
This commit is contained in:
Georges Basile Stavracas Neto
2017-09-07 12:07:22 -03:00
parent 24a2e97df2
commit 647e243bd5
4 changed files with 40 additions and 13 deletions
+2
View File
@@ -1,3 +1,5 @@
contrib_incs += [ include_directories('.') ]
libevolution_files = files(
'e-cal-data-model.c',
'e-cal-data-model-subscriber.c'