Starting linux64 support

This commit is contained in:
Siana Gearz
2012-02-25 08:19:58 +01:00
parent 0bdf54e6d9
commit d4cfc10609
6 changed files with 72 additions and 44 deletions

View File

@@ -19,5 +19,5 @@ else (STANDALONE)
else (WINDOWS)
set(CARES_LIBRARIES cares)
endif (WINDOWS)
set(CARES_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/ares)
set(CARES_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include/ares ${LIBS_PREBUILT_DIR}/include/ares )
endif (STANDALONE)

View File

@@ -1,10 +1,14 @@
# -*- cmake -*-
include(Prebuilt)
if(WORD_SIZE EQUAL 64)
set(DISABLE_TCMALLOC TRUE)
endif()
if (STANDALONE)
include(FindGooglePerfTools)
else (STANDALONE)
if (LINUX OR WINDOWS)
if (LINUX OR WINDOWS AND NOT WORD_SIZE EQUAL 64)
use_prebuilt_binary(google)
endif (LINUX OR WINDOWS)
if (WINDOWS)
@@ -30,10 +34,6 @@ else ()
set(USE_GOOGLE_PERFTOOLS OFF)
endif ()
# XXX Disable temporarily, until we have compilation issues on 64-bit
# Etch sorted.
#set(USE_GOOGLE_PERFTOOLS OFF)
if (USE_GOOGLE_PERFTOOLS)
set(TCMALLOC_FLAG -DLL_USE_TCMALLOC=1)
include_directories(${GOOGLE_PERFTOOLS_INCLUDE_DIR})

View File

@@ -71,7 +71,6 @@ elseif (LINUX)
ssl
# qgif
# qjpeg
jscore
jpeg
fontconfig
X11
@@ -79,5 +78,8 @@ elseif (LINUX)
Xext
GL
)
if (WORD_SIZE EQUAL 32)
set(WEBKIT_PLUGIN_LIBRARIES ${WEBKIT_PLUGIN_LIBRARIES} jscore)
endif (WORD_SIZE EQUAL 32)
endif (STANDALONE)
endif (WINDOWS)

View File

@@ -47,18 +47,11 @@ target_link_libraries(linux-crash-logger
${LLVFS_LIBRARIES}
${LLXML_LIBRARIES}
${LLMESSAGE_LIBRARIES}
${LLUI_LIBRARIES}
${LLVFS_LIBRARIES}
${LLMATH_LIBRARIES}
${LLCOMMON_LIBRARIES}
${UI_LIBRARIES}
${DB_LIBRARIES}
${XMLRPCEPI_LIBRARIES}
${CURL_LIBRARIES}
${APR_LIBRARIES}
${APRUTIL_LIBRARIES}
${CRYPTO_LIBRARIES}
rt
)
add_custom_command(