Changeset 1749
- Timestamp:
- 09/11/11 00:59:07 (7 months ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
CMakeLists.txt (modified) (1 diff)
-
Windows_extra/libNeXus-0-Win32.def (modified) (6 diffs)
-
src/CMakeLists.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/CMakeLists.txt
r1748 r1749 250 250 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${NX_CFLAGS}") 251 251 252 if (CMAKE_SIZEOF_VOID_P MATCHES "8") 253 set(ARCH64 1) 254 else() 255 set(ARCH64 0) 256 endif() 257 252 258 # Recurse into the subdirectories. 253 259 add_subdirectory (src) -
trunk/Windows_extra/libNeXus-0-Win32.def
r1630 r1749 51 51 NXMGetError 52 52 NXMSetError 53 NXMSetTError 53 54 createNXDataset 54 55 createTextNXDataset … … 66 67 nxiclosegroup_ 67 68 nxicompmakedata_ 69 nxicompmakedata64_ 68 70 nxicompress_ 69 71 nxifclose_ … … 83 85 nxigetgroupinfo_ 84 86 nxigetrawinfo_ 87 nxigetrawinfo64_ 85 88 nxigetinfo_ 89 nxigetinfo64_ 86 90 nxigetnextattr_ 87 91 nxigetnextentry_ 88 92 nxigetslab_ 93 nxigetslab64_ 89 94 nxiinitattrdir_ 90 95 nxiinitgroupdir_ … … 93 98 nxilinkexternal_ 94 99 nximakedata_ 100 nximakedata64_ 95 101 nximakegroup_ 96 102 nximakelink_ 97 103 nximakenamedlink_ 98 104 nximalloc_ 105 nximalloc64_ 99 106 nxiopen_ 100 107 nxiopendata_ … … 106 113 nxiputdata_ 107 114 nxiputslab_ 115 nxiputslab64_ 108 116 nxisameid_ 109 117 nxisetcache_ … … 112 120 putNXDatasetValueAt 113 121 nxigetpath_ 122 nxilinkexternaldataset_ 123 nxiisexternaldataset_ 124 nxireopen_ -
trunk/src/CMakeLists.txt
r1735 r1749 41 41 # need napi_exports2.c on win32 but not win64 42 42 if (WIN32) 43 set(NAPISRC ${NAPISRC} napi_exports.c napi_exports.h) 43 if (CMAKE_CL_64) 44 set(NAPISRC ${NAPISRC} napi_exports2.c napi_exports.h) 45 else() 46 set(NAPISRC ${NAPISRC} napi_exports.c napi_exports2.c napi_exports.h) 47 endif() 44 48 endif (WIN32) 49 45 50 46 51 set (NAPISRC ${NAPISRC} nxxml.c nxio.c nxio.h) … … 82 87 set_property(TARGET NeXus_Shared_Library APPEND PROPERTY COMPILE_DEFINITIONS _HDF5USEDLL_) 83 88 89 if (CMAKE_CL_64) 90 set(DEF_FILE ${PROJECT_SOURCE_DIR}/Windows_extra/libNeXus-0-x64.def) 91 else() 92 set(DEF_FILE ${PROJECT_SOURCE_DIR}/Windows_extra/libNeXus-0-Win32.def) 93 endif() 94 84 95 #Note - library version needs to be got from somewhere? 85 96 if(${CMAKE_SYSTEM_NAME} MATCHES "Windows") 86 97 set_target_properties(NeXus_Shared_Library PROPERTIES OUTPUT_NAME libNeXus-0 87 98 VERSION 1.0 SOVERSION 4 ) 88 set_property(TARGET NeXus_Shared_Library APPEND PROPERTY LINK_FLAGS /def:${ PROJECT_SOURCE_DIR}/Windows_extra/libNeXus-0-x64.def)99 set_property(TARGET NeXus_Shared_Library APPEND PROPERTY LINK_FLAGS /def:${DEF_FILE}) 89 100 else(${CMAKE_SYSTEM_NAME} MATCHES "Windows") 90 101 set_target_properties(NeXus_Shared_Library PROPERTIES OUTPUT_NAME NeXus
Note: See TracChangeset
for help on using the changeset viewer.
