diff options
| author | 2012-09-28 14:17:22 +0000 | |
|---|---|---|
| committer | 2012-09-28 14:17:22 +0000 | |
| commit | 467dccc8a579412b45bbbb5f9ffd4d6ef53aceaf (patch) | |
| tree | a4e062dc27155847c9d663b8962aa63c2825e28f /src/modules/perlcore | |
| parent | qt5 support (sip): code only, no touch to build system by now (diff) | |
| download | KVIrc-467dccc8a579412b45bbbb5f9ffd4d6ef53aceaf.tar.gz KVIrc-467dccc8a579412b45bbbb5f9ffd4d6ef53aceaf.tar.bz2 KVIrc-467dccc8a579412b45bbbb5f9ffd4d6ef53aceaf.zip | |
- move the stripping of /RTC1 to perlcore, as MSVC doesn't seem to care if it needs to link against mixed modules and perl seems to only module not wanting run-time error checks (perl does braindead things anyway; i have no debug python to test here)
- "fix" msvc build with perl disabled (note the todo in kvilibs CMakeLists.txt hint: its a bleeping hack, kthxbye)
- kill duplicate KVIRC_BINARYNAME from module.rules.txt
- bump version in resources_win32/version.h
- some svn:eol-style crap (i wonder if i ever finish that up)
NB: try to beat some sanity into perl, since it does add tons of crap to the cmdline (it was actually the one adding -ltcg); which we need some of at some point in the build but it really shouldn't be done unconditionally.
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6256 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/perlcore')
| -rw-r--r-- | src/modules/perlcore/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modules/perlcore/CMakeLists.txt b/src/modules/perlcore/CMakeLists.txt index e22b7bc69..6ccfe4bbf 100644 --- a/src/modules/perlcore/CMakeLists.txt +++ b/src/modules/perlcore/CMakeLists.txt @@ -23,5 +23,12 @@ ENDIF() INCLUDE(${CMAKE_SOURCE_DIR}/cmake/module.rules.txt) IF(COMPILE_PERL_SUPPORT) + IF(WANT_DEBUG AND MSVC) + # Activestates Perl does not support Run-Time Error checks + STRING(REPLACE "/RTC1" "" CMAKE_CXX_FLAGS_DEBUG_INIT ${CMAKE_CXX_FLAGS_DEBUG_INIT}) + STRING(REPLACE "/RTC1" "" CMAKE_C_FLAGS_DEBUG_INIT ${CMAKE_C_FLAGS_DEBUG_INIT}) + STRING(REPLACE "/RTC1" "" CMAKE_CXX_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_DEBUG}) + STRING(REPLACE "/RTC1" "" CMAKE_C_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG}) + ENDIF() SET_TARGET_PROPERTIES(${kvi_module_name} PROPERTIES COMPILE_FLAGS ${PERL_COMPILE_FLAGS}) ENDIF()
\ No newline at end of file |
