Revert
[ACE_TAO.git] / ACE / bin / MakeProjectCreator / config / acedefaults.mpb
blob14f3df0421b7ef33a18dab8230a90dc8a7ee7a16
1 // -*- MPC -*-
2 project: ipv6, vc_warnings, build_files, test_files, svc_conf_files, ace_unicode, ace_idl_dependencies {
3   staticflags += ACE_AS_STATIC_LIBS
4   includes    += $(ACE_ROOT)
5   libpaths    += $(ACE_ROOT)/lib
8   specific(prop:microsoft) {
9     macro_for_lib_modifier=1
10   }
12   specific(prop:windows) {
13     lit_libs += iphlpapi
14   }
16   // Support the alternative Borland Make project type
17   specific(bmake) {
18     unicode_flags += -DACE_USES_WCHAR
19     macros += MPC_LIB_MODIFIER=\\"$(LIBMODIFIER)$(ULIBMODIFIER)\\"
20     debug_macros += ACE_NO_INLINE=1
21     platform_libs += iphlpapi
22     lit_libs -= iphlpapi
23   }
25   verbatim(cmake, top, 1) {
26     set(ACE_ROOT $ENV{ACE_ROOT})
27     if(WIN32)
28     "  link_libraries(iphlpapi)"
29     endif()
30   }
32   specific(cdt6) {
33     win32::platform_libs += ws2_32 mswsock netapi32
34     release::macros += ACE_NDEBUG
35   }
37   // Link To Android Logging Library for Log_Msg_Android_Logcat
38   specific(gnuace) {
39     linkflags += $(if $(android_abi),-llog)
40   }
43 feature(ace_inline) {
44   specific(cdt6,cdt7) {
45     macros += __ACE_INLINE__
46   }
49 feature(!ace_inline) {
50   specific(cdt6,cdt7) {
51     macros += ACE_NO_INLINE
52   }
55 feature(!threads) {
56   specific(cdt6,cdt7) {
57     macros += ACE_MT_SAFE=0
58     // and without threads we must remove support for AIO.
59     macros -= ACE_HAS_AIO_CALLS
60     platform_libs -= rt
61   }
64 feature(ace_languagestandard2017) {
65   specific(vs2017,vs2019,vs2022) {
66     LanguageStandard = stdcpp17
67   }
68   specific(cmake) {
69     languagestandard = 17
70   }