X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FCMakeLists.txt;h=39f74475706b955df8a2a1b79cf69f97313339bf;hb=ffd41e46b25f119a3110c7d28ae938986069c7a5;hp=725c34ae2adbf4db92e55adcb86f034dedcb94ea;hpb=1bd4ba8acdfe7ab1edc96a016836e174a393d445;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/CMakeLists.txt b/src/SMESHGUI/CMakeLists.txt index 725c34ae2..39f744757 100644 --- a/src/SMESHGUI/CMakeLists.txt +++ b/src/SMESHGUI/CMakeLists.txt @@ -1,9 +1,9 @@ -# Copyright (C) 2012-2013 CEA/DEN, EDF R&D, OPEN CASCADE +# Copyright (C) 2012-2014 CEA/DEN, EDF R&D, OPEN CASCADE # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either -# version 2.1 of the License. +# version 2.1 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -56,6 +56,11 @@ ADD_DEFINITIONS( ${OMNIORB_DEFINITIONS} ) +# To avoid GetObject macro definition on WIN32 +IF(WIN32) + ADD_DEFINITIONS(-DNOGDI) +ENDIF(WIN32) + # libraries to link to SET(_link_LIBRARIES ${CAS_TKV3d} @@ -136,6 +141,7 @@ SET(_moc_HEADERS SMESHGUI_ReorientFacesDlg.h SMESHGUI_PropertiesDlg.h SMESHGUI_Add0DElemsOnAllNodesDlg.h + SMESHGUI_FieldSelectorWdg.h ) # header files / no moc processing @@ -241,6 +247,7 @@ SET(_other_SOURCES SMESHGUI_Filter.cxx SMESHGUI_MeshEditPreview.cxx SMESHGUI_FileValidator.cxx + SMESHGUI_FieldSelectorWdg.cxx ) # sources / to compile