Changeset 59 in pacpusframework for trunk/src/FileLib


Ignore:
Timestamp:
01/09/13 11:30:53 (11 years ago)
Author:
Marek Kurdej
Message:

Major: FileLib is now a shared library.
Added: FileLibConfig.h to handle dllimport/dllexport on Windows.
Note: MSVC warning C4251 is a normal thing when using an STL as a member field in a DLL-exported class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/FileLib/CMakeLists.txt

    r58 r59  
    1010
    1111# ========================================
     12# Compiler definitions
     13# ========================================
     14add_definitions(
     15    -DFILELIB_EXPORTS
     16)
     17
     18# ========================================
    1219# List of sources
    1320# ========================================
     
    1724    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/DbiteFile.h
    1825    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/DbiteFileTypes.h
     26    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/FileLibConfig.h
    1927    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/hdfile_header_t
    2028    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/road_time.h
     
    2735# ========================================
    2836pacpus_add_library(
    29     ${PROJECT_NAME}
     37    ${PROJECT_NAME} SHARED
    3038    ${PROJECT_SRCS}
    3139)
Note: See TracChangeset for help on using the changeset viewer.