Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 07:49:01

0001 /*
0002  * Copyright (c) 2019 Opticks Team. All Rights Reserved.
0003  *
0004  * This file is part of Opticks
0005  * (see https://bitbucket.org/simoncblyth/opticks).
0006  *
0007  * Licensed under the Apache License, Version 2.0 (the "License"); 
0008  * you may not use this file except in compliance with the License.  
0009  * You may obtain a copy of the License at
0010  *
0011  *   http://www.apache.org/licenses/LICENSE-2.0
0012  *
0013  * Unless required by applicable law or agreed to in writing, software 
0014  * distributed under the License is distributed on an "AS IS" BASIS, 
0015  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  
0016  * See the License for the specific language governing permissions and 
0017  * limitations under the License.
0018  */
0019 
0020 
0021 #pragma once
0022 
0023 /* 
0024 
0025 Source "Generated" hdr CSGOPTIX_API_EXPORT.hh 
0026 Created Fri, Jun 17, 2016  8:03:44 PM with commandline::
0027 
0028     importlib-exports CSGOPTIX CSGOPTIX_API  
0029 
0030 https://cmake.org/Wiki/BuildingWinDLL
0031 
0032 CMake will define CSGOPTIX_EXPORTS on Windows when it
0033 configures to build a shared library. If you are going to use
0034 another build system on windows or create the visual studio
0035 projects by hand you need to define CSGOPTIX_EXPORTS when
0036 building a DLL on windows.
0037 
0038 */
0039 
0040 // TODO: probably mingw32 will need handling 
0041 
0042 #if defined (_WIN32) 
0043 
0044    #if defined(CSGOPTIX_EXPORTS)
0045        #define  CSGOPTIX_API __declspec(dllexport)
0046    #else
0047        #define  CSGOPTIX_API __declspec(dllimport)
0048    #endif
0049 
0050 #else
0051 
0052    #define CSGOPTIX_API  __attribute__ ((visibility ("default")))
0053 
0054 #endif
0055 
0056