diff options
45 files changed, 331 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000000..fd22000a6e --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,13 @@ +cmake_minimum_required (VERSION 2.8) + +project (Miranda) + +set_directory_properties(PROPERTIES COMPILE_DEFINITIONS "_UNICODE;UNICODE;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS") +link_directories(${CMAKE_SOURCE_DIR}/libs/win32) +include_directories(${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/include/msapi ${CMAKE_SOURCE_DIR}/plugins/ExternalAPI) +set(COMMON_LIBS winmm.lib Wtsapi32.lib netapi32.lib pdh.lib shlwapi.lib Strmiids.lib gdiplus.lib dbghelp.lib Setupapi.lib msimg32.lib comctl32.lib ws2_32.lib UxTheme.lib) + +add_subdirectory(libs) +add_subdirectory(src) +add_subdirectory(plugins) +add_subdirectory(protocols)
\ No newline at end of file diff --git a/cmake/core.cmake b/cmake/core.cmake new file mode 100644 index 0000000000..7c8677d4e1 --- /dev/null +++ b/cmake/core.cmake @@ -0,0 +1,8 @@ +include_directories(.) +file(GLOB SOURCES "src/*.h" "src/*.cpp" "res/*.rc") +add_library(${TARGET} SHARED ${SOURCES}) +set_target_properties(${TARGET} PROPERTIES + LINK_FLAGS "/SUBSYSTEM:WINDOWS" + RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/$<CONFIG>/Core" +) +target_link_libraries(${TARGET} ${COMMON_LIBS})
\ No newline at end of file diff --git a/cmake/icons.cmake b/cmake/icons.cmake new file mode 100644 index 0000000000..c03630ef49 --- /dev/null +++ b/cmake/icons.cmake @@ -0,0 +1,7 @@ +file(GLOB SOURCES "src/*.h" "res/*.rc") +add_library(${TARGET} SHARED ${SOURCES}) +set_target_properties(${TARGET} PROPERTIES + LINK_FLAGS "/SUBSYSTEM:WINDOWS /NOENTRY" + RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/$<CONFIG>/Icons" +) +target_link_libraries(${TARGET} ${COMMON_LIBS})
\ No newline at end of file diff --git a/cmake/lib.cmake b/cmake/lib.cmake new file mode 100644 index 0000000000..7c94c732e3 --- /dev/null +++ b/cmake/lib.cmake @@ -0,0 +1,7 @@ +add_library(${TARGET} SHARED ${SOURCES}) +set_target_properties(${TARGET} PROPERTIES + LINK_FLAGS "/SUBSYSTEM:WINDOWS" + SUFFIX ".mir" + RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/$<CONFIG>/Libs" +) +target_link_libraries(${TARGET} ${COMMON_LIBS})
\ No newline at end of file diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake new file mode 100644 index 0000000000..9d3efac2e0 --- /dev/null +++ b/cmake/plugin.cmake @@ -0,0 +1,6 @@ +add_library(${TARGET} SHARED ${SOURCES}) +set_target_properties(${TARGET} PROPERTIES + LINK_FLAGS "/SUBSYSTEM:WINDOWS" + RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/$<CONFIG>/Plugins" +) +target_link_libraries(${TARGET} ${COMMON_LIBS})
\ No newline at end of file diff --git a/libs/CMakeLists.txt b/libs/CMakeLists.txt new file mode 100644 index 0000000000..5c360a5ef0 --- /dev/null +++ b/libs/CMakeLists.txt @@ -0,0 +1,3 @@ +add_subdirectory(zlib) +add_subdirectory(libjson) +add_subdirectory(libaxolotl)
\ No newline at end of file diff --git a/libs/libaxolotl/CMakeLists.txt b/libs/libaxolotl/CMakeLists.txt new file mode 100644 index 0000000000..a62317dae9 --- /dev/null +++ b/libs/libaxolotl/CMakeLists.txt @@ -0,0 +1,11 @@ +file(GLOB SOURCES "src/*.h" "src/*.c" +"src/protobuf-c/*.c" "src/protobuf-c/*.h" +"src/curve25519/*.c" "src/curve25519/*.h" +"src/curve25519/ed25519/*.c" "src/curve25519/ed25519/*.h" +"src/curve25519/ed25519/nacl_sha512/*.c" "src/curve25519/ed25519/nacl_includes/*.h" +"src/curve25519/ed25519/additions/*.c" "src/curve25519/ed25519/additions/*.h" +"src/signal.def") +include_directories("src" "src/protobuf-c" "src/curve25519" "src/curve25519/ed25519" +"src/curve25519/ed25519/nacl_includes" "src/curve25519/ed25519/additions") +set(TARGET libaxolotl) +include(${CMAKE_SOURCE_DIR}/cmake/lib.cmake)
\ No newline at end of file diff --git a/libs/libjson/CMakeLists.txt b/libs/libjson/CMakeLists.txt new file mode 100644 index 0000000000..e76677a636 --- /dev/null +++ b/libs/libjson/CMakeLists.txt @@ -0,0 +1,5 @@ +file(GLOB SOURCES "src/*.h" "src/*.cpp" "src/libjson.def") +set(TARGET libjson) +include(${CMAKE_SOURCE_DIR}/cmake/lib.cmake) + +set_target_properties(${TARGET} PROPERTIES COMPILE_DEFINITIONS "LIBJSON_EXPORTS")
\ No newline at end of file diff --git a/libs/zlib/CMakeLists.txt b/libs/zlib/CMakeLists.txt new file mode 100644 index 0000000000..8f66b949c3 --- /dev/null +++ b/libs/zlib/CMakeLists.txt @@ -0,0 +1,3 @@ +file(GLOB SOURCES "src/*.h" "src/*.c" "src/zlib.def") +set(TARGET Zlib) +include(${CMAKE_SOURCE_DIR}/cmake/lib.cmake)
\ No newline at end of file diff --git a/plugins/AdvaImg/CMakeLists.txt b/plugins/AdvaImg/CMakeLists.txt new file mode 100644 index 0000000000..bf6aaf6e65 --- /dev/null +++ b/plugins/AdvaImg/CMakeLists.txt @@ -0,0 +1,147 @@ +file(GLOB SOURCES "src/*.h" +"src/FreeImage/*.h" +"src/FreeImageToolkit/*.h" +"src/LibJPEG/*.h" +"src/LibPNG/*.h" +"src/Metadata/*.h" + +"src/FreeImageToolkit/Background.cpp" +"src/FreeImage/BitmapAccess.cpp" +"src/FreeImage/ColorLookup.cpp" +"src/FreeImage/ConversionFloat.cpp" +"src/FreeImage/ConversionRGB16.cpp" +"src/FreeImage/ConversionRGBA16.cpp" +"src/FreeImage/ConversionRGBAF.cpp" +"src/FreeImage/ConversionUINT16.cpp" +"src/FreeImage/FreeImage.cpp" +"src/FreeImage/FreeImageIO.cpp" +"src/FreeImage/GetType.cpp" +"src/FreeImage/LFPQuantizer.cpp" +"src/FreeImage/MemoryIO.cpp" +"src/FreeImage/PixelAccess.cpp" +"src/FreeImage/Plugin.cpp" +"src/FreeImage/PluginBMP.cpp" +"src/FreeImage/PluginGIF.cpp" +"src/FreeImage/PluginICO.cpp" +"src/FreeImage/PluginJPEG.cpp" +"src/FreeImage/PluginPNG.cpp" +"src/FreeImage/Conversion.cpp" +"src/FreeImage/Conversion16_555.cpp" +"src/FreeImage/Conversion16_565.cpp" +"src/FreeImage/Conversion24.cpp" +"src/FreeImage/Conversion32.cpp" +"src/FreeImage/Conversion4.cpp" +"src/FreeImage/Conversion8.cpp" +"src/FreeImage/ConversionRGBF.cpp" +"src/FreeImage/ConversionType.cpp" +"src/FreeImage/Halftoning.cpp" +"src/FreeImageToolkit/MultigridPoissonSolver.cpp" +"src/FreeImage/tmoColorConvert.cpp" +"src/FreeImage/tmoDrago03.cpp" +"src/FreeImage/tmoFattal02.cpp" +"src/FreeImage/tmoReinhard05.cpp" +"src/FreeImage/ToneMapping.cpp" +"src/FreeImage/NNQuantizer.cpp" +"src/FreeImage/WuQuantizer.cpp" +"src/FreeImage/CacheFile.cpp" +"src/FreeImage/MultiPage.cpp" +"src/FreeImage/ZLibInterface.cpp" +"src/LibJPEG/jaricom.c" +"src/LibJPEG/jcarith.c" +"src/LibJPEG/jdarith.c" +"src/LibJPEG/jdhuff.c" +"src/Metadata/Exif.cpp" +"src/Metadata/FIRational.cpp" +"src/Metadata/FreeImageTag.cpp" +"src/Metadata/IPTC.cpp" +"src/Metadata/TagConversion.cpp" +"src/Metadata/TagLib.cpp" +"src/main.cpp" +"src/LibJPEG/jcapimin.c" +"src/LibJPEG/jcapistd.c" +"src/LibJPEG/jccoefct.c" +"src/LibJPEG/jccolor.c" +"src/LibJPEG/jcdctmgr.c" +"src/LibJPEG/jchuff.c" +"src/LibJPEG/jcinit.c" +"src/LibJPEG/jcmainct.c" +"src/LibJPEG/jcmarker.c" +"src/LibJPEG/jcmaster.c" +"src/LibJPEG/jcomapi.c" +"src/LibJPEG/jcparam.c" +"src/LibJPEG/jcprepct.c" +"src/LibJPEG/jcsample.c" +"src/LibJPEG/jctrans.c" +"src/LibJPEG/jdapimin.c" +"src/LibJPEG/jdapistd.c" +"src/LibJPEG/jdatadst.c" +"src/LibJPEG/jdatasrc.c" +"src/LibJPEG/jdcoefct.c" +"src/LibJPEG/jdcolor.c" +"src/LibJPEG/jddctmgr.c" +"src/LibJPEG/jdinput.c" +"src/LibJPEG/jdmainct.c" +"src/LibJPEG/jdmarker.c" +"src/LibJPEG/jdmaster.c" +"src/LibJPEG/jdmerge.c" +"src/LibJPEG/jdpostct.c" +"src/LibJPEG/jdsample.c" +"src/LibJPEG/jdtrans.c" +"src/LibJPEG/jerror.c" +"src/LibJPEG/jfdctflt.c" +"src/LibJPEG/jfdctfst.c" +"src/LibJPEG/jfdctint.c" +"src/LibJPEG/jidctflt.c" +"src/LibJPEG/jidctfst.c" +"src/LibJPEG/jidctint.c" +"src/LibJPEG/jmemmgr.c" +"src/LibJPEG/jmemnobs.c" +"src/LibJPEG/jquant1.c" +"src/LibJPEG/jquant2.c" +"src/LibJPEG/jutils.c" +"src/LibJPEG/rdbmp.c" +"src/LibJPEG/rdcolmap.c" +"src/LibJPEG/rdgif.c" +"src/LibJPEG/rdppm.c" +"src/LibJPEG/rdrle.c" +"src/LibJPEG/rdswitch.c" +"src/LibJPEG/rdtarga.c" +"src/LibJPEG/transupp.c" +"src/LibJPEG/wrbmp.c" +"src/LibJPEG/wrgif.c" +"src/LibJPEG/wrppm.c" +"src/LibJPEG/wrrle.c" +"src/LibJPEG/wrtarga.c" +"src/LibPNG/png.c" +"src/LibPNG/pngerror.c" +"src/LibPNG/pngget.c" +"src/LibPNG/pngmem.c" +"src/LibPNG/pngpread.c" +"src/LibPNG/pngread.c" +"src/LibPNG/pngrio.c" +"src/LibPNG/pngrtran.c" +"src/LibPNG/pngrutil.c" +"src/LibPNG/pngset.c" +"src/LibPNG/pngtrans.c" +"src/LibPNG/pngwio.c" +"src/LibPNG/pngwrite.c" +"src/LibPNG/pngwtran.c" +"src/LibPNG/pngwutil.c" +"src/FreeImageToolkit/BSplineRotate.cpp" +"src/FreeImageToolkit/Channels.cpp" +"src/FreeImageToolkit/ClassicRotate.cpp" +"src/FreeImageToolkit/Colors.cpp" +"src/FreeImageToolkit/CopyPaste.cpp" +"src/FreeImageToolkit/Display.cpp" +"src/FreeImageToolkit/Flip.cpp" +"src/FreeImageToolkit/JPEGTransform.cpp" +"src/FreeImageToolkit/Rescale.cpp" +"src/FreeImageToolkit/Resize.cpp" +) +include_directories("src" "src/FreeImage" "src/FreeImageToolkit" "src/LibJPEG" +"src/LibPNG" "src/Metadata" "${CMAKE_SOURCE_DIR}/libs/zLib/src") +set(TARGET AdvaImg) +include(${CMAKE_SOURCE_DIR}/cmake/plugin.cmake) + +target_link_libraries(${TARGET} Zlib) +set_target_properties(${TARGET} PROPERTIES COMPILE_DEFINITIONS "FREEIMAGE_EXPORTS")
\ No newline at end of file diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt new file mode 100644 index 0000000000..8f1390d276 --- /dev/null +++ b/plugins/CMakeLists.txt @@ -0,0 +1,4 @@ +add_subdirectory(AdvaImg) +add_subdirectory(Clist_modern) +add_subdirectory(Db3x_mmap) +add_subdirectory(TopToolBar)
\ No newline at end of file diff --git a/plugins/Clist_modern/CMakeLists.txt b/plugins/Clist_modern/CMakeLists.txt new file mode 100644 index 0000000000..9b2017d2f8 --- /dev/null +++ b/plugins/Clist_modern/CMakeLists.txt @@ -0,0 +1,4 @@ +file(GLOB SOURCES "src/*.h" "src/*.cpp" "res/*.rc") +set(TARGET Clist_modern) +include(${CMAKE_SOURCE_DIR}/cmake/plugin.cmake) +add_subdirectory(icons_pack)
\ No newline at end of file diff --git a/plugins/Clist_modern/icons_pack/CMakeLists.txt b/plugins/Clist_modern/icons_pack/CMakeLists.txt new file mode 100644 index 0000000000..44b26ad24c --- /dev/null +++ b/plugins/Clist_modern/icons_pack/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET Toolbar_icons) +include(${CMAKE_SOURCE_DIR}/cmake/icons.cmake)
\ No newline at end of file diff --git a/plugins/Db3x_mmap/CMakeLists.txt b/plugins/Db3x_mmap/CMakeLists.txt new file mode 100644 index 0000000000..eee167c6a9 --- /dev/null +++ b/plugins/Db3x_mmap/CMakeLists.txt @@ -0,0 +1,3 @@ +file(GLOB SOURCES "src/*.h" "src/*.cpp" "src/dbtool/*.cpp" "res/*.rc") +set(TARGET Dbx_mmap) +include(${CMAKE_SOURCE_DIR}/cmake/plugin.cmake)
\ No newline at end of file diff --git a/plugins/TopToolBar/CMakeLists.txt b/plugins/TopToolBar/CMakeLists.txt new file mode 100644 index 0000000000..d9fe0fba80 --- /dev/null +++ b/plugins/TopToolBar/CMakeLists.txt @@ -0,0 +1,3 @@ +file(GLOB SOURCES "src/*.h" "src/*.cpp" "res/*.rc") +set(TARGET TopToolBar) +include(${CMAKE_SOURCE_DIR}/cmake/plugin.cmake)
\ No newline at end of file diff --git a/protocols/CMakeLists.txt b/protocols/CMakeLists.txt new file mode 100644 index 0000000000..0c4b8d722e --- /dev/null +++ b/protocols/CMakeLists.txt @@ -0,0 +1,4 @@ +add_subdirectory(FacebookRM) +add_subdirectory(JabberG) +add_subdirectory(MSN) +add_subdirectory(SkypeWeb)
\ No newline at end of file diff --git a/protocols/FacebookRM/CMakeLists.txt b/protocols/FacebookRM/CMakeLists.txt new file mode 100644 index 0000000000..6441c53332 --- /dev/null +++ b/protocols/FacebookRM/CMakeLists.txt @@ -0,0 +1,5 @@ +file(GLOB SOURCES "src/*.h" "src/requests/*.h" "src/*.cpp" "res/*.rc" "${CMAKE_SOURCE_DIR}/utils/std_string_utils.cpp") +set(TARGET Facebook) +include(${CMAKE_SOURCE_DIR}/cmake/plugin.cmake) +target_link_libraries(${TARGET} libjson) +add_subdirectory(proto_facebook)
\ No newline at end of file diff --git a/protocols/FacebookRM/proto_facebook/CMakeLists.txt b/protocols/FacebookRM/proto_facebook/CMakeLists.txt new file mode 100644 index 0000000000..be5f194172 --- /dev/null +++ b/protocols/FacebookRM/proto_facebook/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET Proto_Facebook) +include(${CMAKE_SOURCE_DIR}/cmake/icons.cmake)
\ No newline at end of file diff --git a/protocols/JabberG/CMakeLists.txt b/protocols/JabberG/CMakeLists.txt new file mode 100644 index 0000000000..257a4cd8ae --- /dev/null +++ b/protocols/JabberG/CMakeLists.txt @@ -0,0 +1,7 @@ +file(GLOB SOURCES "src/*.h" "src/*.cpp" "res/*.rc") +set(TARGET Jabber) +include_directories(${CMAKE_SOURCE_DIR}/libs/libaxolotl/src) +include(${CMAKE_SOURCE_DIR}/cmake/plugin.cmake) +target_link_libraries(${TARGET} Zlib libaxolotl libeay32.lib ssleay32.lib) +add_subdirectory(jabber_xstatus) +add_subdirectory(proto_jabber)
\ No newline at end of file diff --git a/protocols/JabberG/jabber_xstatus/CMakeLists.txt b/protocols/JabberG/jabber_xstatus/CMakeLists.txt new file mode 100644 index 0000000000..9a16f9320c --- /dev/null +++ b/protocols/JabberG/jabber_xstatus/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET xStatus_Jabber) +include(${CMAKE_SOURCE_DIR}/cmake/icons.cmake)
\ No newline at end of file diff --git a/protocols/JabberG/proto_jabber/CMakeLists.txt b/protocols/JabberG/proto_jabber/CMakeLists.txt new file mode 100644 index 0000000000..855e7aa315 --- /dev/null +++ b/protocols/JabberG/proto_jabber/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET Proto_Jabber) +include(${CMAKE_SOURCE_DIR}/cmake/icons.cmake)
\ No newline at end of file diff --git a/protocols/MSN/CMakeLists.txt b/protocols/MSN/CMakeLists.txt new file mode 100644 index 0000000000..a3984234ef --- /dev/null +++ b/protocols/MSN/CMakeLists.txt @@ -0,0 +1,5 @@ +file(GLOB SOURCES "src/*.h" "src/skylogin/*.h" "src/*.cpp" "src/*.c" "src/skylogin/*.c" "res/*.rc") +set(TARGET MSN) +include(${CMAKE_SOURCE_DIR}/cmake/plugin.cmake) +target_link_libraries(${TARGET} libeay32.lib) +add_subdirectory(proto_msn)
\ No newline at end of file diff --git a/protocols/MSN/proto_msn/CMakeLists.txt b/protocols/MSN/proto_msn/CMakeLists.txt new file mode 100644 index 0000000000..7df814f1c5 --- /dev/null +++ b/protocols/MSN/proto_msn/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET Proto_MSN) +include(${CMAKE_SOURCE_DIR}/cmake/icons.cmake)
\ No newline at end of file diff --git a/protocols/SkypeWeb/CMakeLists.txt b/protocols/SkypeWeb/CMakeLists.txt new file mode 100644 index 0000000000..739bbe8aec --- /dev/null +++ b/protocols/SkypeWeb/CMakeLists.txt @@ -0,0 +1,6 @@ +file(GLOB SOURCES "src/*.h" "src/requests/*.h" "src/requests/asm/*.h" "src/*.cpp" "res/*.rc") +set(TARGET SkypeWeb) +include(${CMAKE_SOURCE_DIR}/cmake/plugin.cmake) +target_link_libraries(${TARGET} libjson) +add_subdirectory(proto_conn_skype) +add_subdirectory(proto_skype)
\ No newline at end of file diff --git a/protocols/SkypeWeb/proto_conn_skype/CMakeLists.txt b/protocols/SkypeWeb/proto_conn_skype/CMakeLists.txt new file mode 100644 index 0000000000..14b4eac82c --- /dev/null +++ b/protocols/SkypeWeb/proto_conn_skype/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET Proto_conn_Skype) +include(${CMAKE_SOURCE_DIR}/cmake/icons.cmake)
\ No newline at end of file diff --git a/protocols/SkypeWeb/proto_skype/CMakeLists.txt b/protocols/SkypeWeb/proto_skype/CMakeLists.txt new file mode 100644 index 0000000000..9112f38771 --- /dev/null +++ b/protocols/SkypeWeb/proto_skype/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET Proto_Skype) +include(${CMAKE_SOURCE_DIR}/cmake/icons.cmake)
\ No newline at end of file diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000000..505df3d80d --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,4 @@ +add_subdirectory(mir_core) +add_subdirectory(mir_app) +add_subdirectory(miranda32) +add_subdirectory(core)
\ No newline at end of file diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt new file mode 100644 index 0000000000..e91ba77adb --- /dev/null +++ b/src/core/CMakeLists.txt @@ -0,0 +1,14 @@ +add_subdirectory(stdauth) +add_subdirectory(stdautoaway) +add_subdirectory(stdaway) +add_subdirectory(stdclist) +add_subdirectory(stdcrypt) +add_subdirectory(stdemail) +add_subdirectory(stdfile) +add_subdirectory(stdhelp) +add_subdirectory(stdidle) +add_subdirectory(stdmsg) +add_subdirectory(stdssl) +add_subdirectory(stduihist) +add_subdirectory(stduserinfo) +add_subdirectory(stduseronline)
\ No newline at end of file diff --git a/src/core/stdauth/CMakeLists.txt b/src/core/stdauth/CMakeLists.txt new file mode 100644 index 0000000000..eb455710b9 --- /dev/null +++ b/src/core/stdauth/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET StdAuth) +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake)
\ No newline at end of file diff --git a/src/core/stdautoaway/CMakeLists.txt b/src/core/stdautoaway/CMakeLists.txt new file mode 100644 index 0000000000..418414b0b0 --- /dev/null +++ b/src/core/stdautoaway/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET StdAutoAway) +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake)
\ No newline at end of file diff --git a/src/core/stdaway/CMakeLists.txt b/src/core/stdaway/CMakeLists.txt new file mode 100644 index 0000000000..567f31d827 --- /dev/null +++ b/src/core/stdaway/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET StdAway) +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake)
\ No newline at end of file diff --git a/src/core/stdclist/CMakeLists.txt b/src/core/stdclist/CMakeLists.txt new file mode 100644 index 0000000000..4477d53c3a --- /dev/null +++ b/src/core/stdclist/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET StdClist) +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake)
\ No newline at end of file diff --git a/src/core/stdcrypt/CMakeLists.txt b/src/core/stdcrypt/CMakeLists.txt new file mode 100644 index 0000000000..1a36c1921c --- /dev/null +++ b/src/core/stdcrypt/CMakeLists.txt @@ -0,0 +1,3 @@ +set(TARGET StdCrypt) +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake) +target_link_libraries(${TARGET} Zlib)
\ No newline at end of file diff --git a/src/core/stdemail/CMakeLists.txt b/src/core/stdemail/CMakeLists.txt new file mode 100644 index 0000000000..d7038bcdfc --- /dev/null +++ b/src/core/stdemail/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET StdEmail) +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake)
\ No newline at end of file diff --git a/src/core/stdfile/CMakeLists.txt b/src/core/stdfile/CMakeLists.txt new file mode 100644 index 0000000000..a91f49e32a --- /dev/null +++ b/src/core/stdfile/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET StdFile) +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake)
\ No newline at end of file diff --git a/src/core/stdhelp/CMakeLists.txt b/src/core/stdhelp/CMakeLists.txt new file mode 100644 index 0000000000..847cd567ba --- /dev/null +++ b/src/core/stdhelp/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET StdHelp) +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake)
\ No newline at end of file diff --git a/src/core/stdidle/CMakeLists.txt b/src/core/stdidle/CMakeLists.txt new file mode 100644 index 0000000000..67735cfc07 --- /dev/null +++ b/src/core/stdidle/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET StdIdle) +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake)
\ No newline at end of file diff --git a/src/core/stdmsg/CMakeLists.txt b/src/core/stdmsg/CMakeLists.txt new file mode 100644 index 0000000000..75b068ef77 --- /dev/null +++ b/src/core/stdmsg/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET StdMsg) +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake)
\ No newline at end of file diff --git a/src/core/stdssl/CMakeLists.txt b/src/core/stdssl/CMakeLists.txt new file mode 100644 index 0000000000..ecc952031a --- /dev/null +++ b/src/core/stdssl/CMakeLists.txt @@ -0,0 +1,3 @@ +set(TARGET StdSSL) +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake) +target_link_libraries(${TARGET} secur32.lib crypt32.lib)
\ No newline at end of file diff --git a/src/core/stduihist/CMakeLists.txt b/src/core/stduihist/CMakeLists.txt new file mode 100644 index 0000000000..6b344c8bd4 --- /dev/null +++ b/src/core/stduihist/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET StdUIHist) +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake)
\ No newline at end of file diff --git a/src/core/stduserinfo/CMakeLists.txt b/src/core/stduserinfo/CMakeLists.txt new file mode 100644 index 0000000000..42a47311b7 --- /dev/null +++ b/src/core/stduserinfo/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET StdUserInfo) +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake)
\ No newline at end of file diff --git a/src/core/stduseronline/CMakeLists.txt b/src/core/stduseronline/CMakeLists.txt new file mode 100644 index 0000000000..6cae375826 --- /dev/null +++ b/src/core/stduseronline/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET StdUserOnline) +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake)
\ No newline at end of file diff --git a/src/mir_app/CMakeLists.txt b/src/mir_app/CMakeLists.txt new file mode 100644 index 0000000000..8e72c06f59 --- /dev/null +++ b/src/mir_app/CMakeLists.txt @@ -0,0 +1,6 @@ +file(GLOB SOURCES "src/*.h" "src/*.cpp" "src/mir_app.def" "res/*.rc") +set(TARGET mir_app) +include(${CMAKE_SOURCE_DIR}/cmake/lib.cmake) + +set_target_properties(${TARGET} PROPERTIES COMPILE_DEFINITIONS "MIR_APP_EXPORTS") +target_link_libraries(${TARGET} Zlib)
\ No newline at end of file diff --git a/src/mir_core/CMakeLists.txt b/src/mir_core/CMakeLists.txt new file mode 100644 index 0000000000..aaaacf1312 --- /dev/null +++ b/src/mir_core/CMakeLists.txt @@ -0,0 +1,5 @@ +file(GLOB SOURCES "src/*.h" "src/*.cpp" "src/mir_core.def") +set(TARGET mir_core) +include(${CMAKE_SOURCE_DIR}/cmake/lib.cmake) + +set_target_properties(${TARGET} PROPERTIES COMPILE_DEFINITIONS "MIR_CORE_EXPORTS")
\ No newline at end of file diff --git a/src/miranda32/CMakeLists.txt b/src/miranda32/CMakeLists.txt new file mode 100644 index 0000000000..1ca94b3a1d --- /dev/null +++ b/src/miranda32/CMakeLists.txt @@ -0,0 +1,7 @@ +file(GLOB SOURCES "src/*.h" "src/*.cpp" "res/*.rc") +add_executable(miranda32 ${SOURCES}) +include_directories(.) +set_target_properties(miranda32 PROPERTIES + LINK_FLAGS "/SUBSYSTEM:WINDOWS" + RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/$<CONFIG>" +)
\ No newline at end of file |