diff options
author | Vitaly Svyastyn <protomors@gmail.com> | 2017-11-05 19:33:01 +0600 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-11-05 16:33:01 +0300 |
commit | 52921a9e13484319df2d4f1153521f3f5e12b932 (patch) | |
tree | 5c6b99a6e59958778ab1cdfa61a0848d3211eb0a /protocols/Sametime | |
parent | db6f3932affcc9397c9fbed99d344388a585add5 (diff) |
More CMake (#1016)
* Generate version information before build.
* Removed /EHsc from compile options.
* CMake files for the rest of protocols.
* CMake 64 bit build.
* CMake: precompiled headers.
Diffstat (limited to 'protocols/Sametime')
-rw-r--r-- | protocols/Sametime/CMakeLists.txt | 38 | ||||
-rw-r--r-- | protocols/Sametime/proto_sametime/CMakeLists.txt | 2 | ||||
-rw-r--r-- | protocols/Sametime/src/glib/CMakeLists.txt | 82 |
3 files changed, 122 insertions, 0 deletions
diff --git a/protocols/Sametime/CMakeLists.txt b/protocols/Sametime/CMakeLists.txt new file mode 100644 index 0000000000..03fafd6760 --- /dev/null +++ b/protocols/Sametime/CMakeLists.txt @@ -0,0 +1,38 @@ +file(GLOB SOURCES "src/*.h" "res/*.rc" +"src/conference.cpp" +"src/files.cpp" +"src/messaging.cpp" +"src/options.cpp" +"src/places.cpp" +"src/sametime.cpp" +"src/sametime_proto.cpp" +"src/sametime_session.cpp" +"src/session_announce_win.cpp" +"src/userlist.cpp" +"src/utils.cpp" +"src/meanwhile/src/channel.c" +"src/meanwhile/src/cipher.c" +"src/meanwhile/src/common.c" +"src/meanwhile/src/error.c" +"src/meanwhile/src/message.c" +"src/meanwhile/src/mpi/mpi.c" +"src/meanwhile/src/mw_debug.c" +"src/meanwhile/src/mw_util.c" +"src/meanwhile/src/service.c" +"src/meanwhile/src/session.c" +"src/meanwhile/src/srvc_aware.c" +"src/meanwhile/src/srvc_conf.c" +"src/meanwhile/src/srvc_dir.c" +"src/meanwhile/src/srvc_ft.c" +"src/meanwhile/src/srvc_im.c" +"src/meanwhile/src/srvc_place.c" +"src/meanwhile/src/srvc_resolve.c" +"src/meanwhile/src/srvc_store.c" +"src/meanwhile/src/st_list.c" +) +set(TARGET Sametime) +include_directories("src" "src/glib" "src/meanwhile/src") +include(${CMAKE_SOURCE_DIR}/cmake/plugin.cmake) +target_link_libraries(${TARGET} glib) +add_subdirectory(proto_sametime) +add_subdirectory(src/glib)
\ No newline at end of file diff --git a/protocols/Sametime/proto_sametime/CMakeLists.txt b/protocols/Sametime/proto_sametime/CMakeLists.txt new file mode 100644 index 0000000000..b0b9cd2707 --- /dev/null +++ b/protocols/Sametime/proto_sametime/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET Proto_Sametime) +include(${CMAKE_SOURCE_DIR}/cmake/icons.cmake)
\ No newline at end of file diff --git a/protocols/Sametime/src/glib/CMakeLists.txt b/protocols/Sametime/src/glib/CMakeLists.txt new file mode 100644 index 0000000000..3c18c15003 --- /dev/null +++ b/protocols/Sametime/src/glib/CMakeLists.txt @@ -0,0 +1,82 @@ +set(TARGET glib) +add_library(${TARGET} +"garray.c" +"gasyncqueue.c" +"gatomic.c" +"gbacktrace.c" +"gbase64.c" +"gbitlock.c" +"gbookmarkfile.c" +"gbuffer.c" +"gcache.c" +"gchecksum.c" +"gcompletion.c" +"gconvert.c" +"gdataset.c" +"gdate.c" +"gdatetime.c" +"gdir.c" +"gerror.c" +"gfileutils.c" +"ghash.c" +"ghook.c" +"ghostutils.c" +"giochannel.c" +"giowin32.c" +"gkeyfile.c" +"glist.c" +"gmain.c" +"gmappedfile.c" +"gmarkup.c" +"gmem.c" +"gmessages.c" +"gnode.c" +"gnulib/asnprintf.c" +"gnulib/printf-args.c" +"gnulib/printf-parse.c" +"gnulib/printf.c" +"gnulib/vasnprintf.c" +"goption.c" +"gpattern.c" +"gpoll.c" +"gprimes.c" +"gprintf.c" +"gqsort.c" +"gqueue.c" +"grand.c" +"gregex.c" +"grel.c" +"gscanner.c" +"gsequence.c" +"gshell.c" +"gslice.c" +"gslist.c" +"gspawn-win32-helper.c" +"gspawn-win32.c" +"gstdio.c" +"gstrfuncs.c" +"gstring.c" +"gtestutils.c" +"gthread.c" +"gthreadpool.c" +"gtimer.c" +"gtimezone.c" +"gtree.c" +"gunibreak.c" +"gunicollate.c" +"gunidecomp.c" +"guniprop.c" +"gurifuncs.c" +"gutf8.c" +"gutils.c" +"gvariant-core.c" +"gvariant-parser.c" +"gvariant-serialiser.c" +"gvariant.c" +"gvarianttype.c" +"gvarianttypeinfo.c" +"gwin32.c" +"libcharset/localcharset.c" +"libintl.c" +) +set_target_properties(${TARGET} PROPERTIES COMPILE_DEFINITIONS "GLIB_COMPILATION")
\ No newline at end of file |