Changeset 5cd6bcf in nscp


Ignore:
Timestamp:
06/10/10 21:59:32 (3 years ago)
Author:
Michael Medin <michael@…>
Branches:
master, 0.4.0, 0.4.1, 0.4.2
Children:
5735dda
Parents:
acf0660
Message:

More build subsystem changes

Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    racf0660 r5cd6bcf  
    3737SET(PROTOBUF_DIR "${INC_PROTOBUF_DIR}" CACHE PATH "Path to google protocol buffer root") 
    3838IF(WIN32 AND MSVC) 
    39   SET(PROTOBUF_INCLUDE_DIR "${PROTOBUF_DIR}/src" CACHE PATH "Path to google protocol buffer source") 
    40   SET(PROTOBUF_LIBRARYDIR "${PROTOBUF_DIR}/vsprojects/Release") 
    41   SET(PROTOBUF_BINARYDIR "${PROTOBUF_DIR}/vsprojects/Release") 
     39  SET(PROTOBUF_INCLUDE_DIR "${PROTOBUF_DIR}/src" "Path to google protocol buffer source") 
     40  SET(PROTOBUF_LIBRARYDIR "${PROTOBUF_DIR}/vsprojects/x64/Release") 
     41  SET(PROTOBUF_BINARYDIR "${PROTOBUF_DIR}/vsprojects/debug") 
    4242ELSE(WIN32 AND MSVC) 
    4343# TODO 
     
    169169 
    170170SET(NSCP_GLOBAL_DEFINES ${NSCP_GLOBAL_DEFINES} -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0400) 
     171# TODO: Fix this issue! (crypto++ and masm) 
     172IF (WIN32) 
     173  SET(NSCP_GLOBAL_DEFINES ${NSCP_GLOBAL_DEFINES} -DCRYPTOPP_DISABLE_ASM) 
     174ENDIF (WIN32) 
     175 
    171176 
    172177IF(CMAKE_HOST_UNIX) 
  • build.cmake

    racf0660 r5cd6bcf  
    99#SET(Boost_VERSION 1.40) 
    1010 
    11 SET(INC_NSCP_LIBRARYDIR C:/source/lib/x86) 
     11SET(INC_NSCP_LIBRARYDIR C:/source/lib/x64) 
    1212SET(INC_NSCP_INCLUDEDIR C:/source/include) 
    1313 
     
    1919 
    2020SET(INC_PROTOBUF_DIR "c:/source/libraries/protobuf-2.3.0") 
     21 
    2122SET(INC_CRYPTOPP_DIR "c:/source/libraries/cryptopp-5.6.0") 
    2223 
  • libs/cryptopp/CMakeLists.txt

    r47bcf6f r5cd6bcf  
    2929  # TODO add asm    echo $(.source)/x64masm.asm ; 
    3030  #   obj x64masm.obj : $(.source)/x64masm.asm ; 
     31  #enable_language(ASM_MASM) 
     32  #if(CMAKE_ASM_MASM_COMPILER_WORKS) 
     33  # set(can_use_assembler TRUE) 
     34  # SET(cryptopp_SOURCES ${cryptopp_SOURCES}  "${CRYPTOPP_SOURCE_DIR}/x64masm.asm") 
     35  #else(CMAKE_ASM_MASM_COMPILER_WORKS) 
     36  # MESSAGE(WARNING "Failed to find mnasm") 
     37  #endif(CMAKE_ASM_MASM_COMPILER_WORKS) 
     38  IF (WIN32) 
     39    ADD_DEFINITIONS (-DCRYPTOPP_DISABLE_ASM) 
     40    SET(Cryptopp_DEFINES -DCRYPTOPP_DISABLE_ASM) 
     41  ENDIF (WIN32) 
    3142 
    3243  ADD_LIBRARY (cryptopp SHARED ${cryptopp_SOURCES}) 
Note: See TracChangeset for help on using the changeset viewer.