Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'Dev_1.1.0' of newgeom:newgeom into Dev_1.1.0
[modules/shaper.git]
/
src
/
GeomDataAPI
/
CMakeLists.txt
diff --git
a/src/GeomDataAPI/CMakeLists.txt
b/src/GeomDataAPI/CMakeLists.txt
index 389463212ab4c13582cec1d6efebc801b4056c81..1f8880b751c479b752b6b736ba1eb38b3b90869f 100644
(file)
--- a/
src/GeomDataAPI/CMakeLists.txt
+++ b/
src/GeomDataAPI/CMakeLists.txt
@@
-1,6
+1,9
@@
+## Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
FIND_PACKAGE(SWIG REQUIRED)
INCLUDE(${SWIG_USE_FILE})
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
FIND_PACKAGE(SWIG REQUIRED)
INCLUDE(${SWIG_USE_FILE})
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
+INCLUDE(UnitTest)
SET(PROJECT_HEADERS
GeomDataAPI.h
SET(PROJECT_HEADERS
GeomDataAPI.h
@@
-9,7
+12,7
@@
SET(PROJECT_HEADERS
GeomDataAPI_Point2D.h
)
GeomDataAPI_Point2D.h
)
-SET(CMAKE_SWIG_FLAGS "")
+SET(CMAKE_SWIG_FLAGS "
-Wall
")
SET_SOURCE_FILES_PROPERTIES(GeomDataAPI.i PROPERTIES CPLUSPLUS ON)
SET_SOURCE_FILES_PROPERTIES(GeomDataAPI.i PROPERTIES SWIG_DEFINITIONS "-shadow")
SET_SOURCE_FILES_PROPERTIES(GeomDataAPI.i PROPERTIES CPLUSPLUS ON)
SET_SOURCE_FILES_PROPERTIES(GeomDataAPI.i PROPERTIES SWIG_DEFINITIONS "-shadow")
@@
-36,3
+39,5
@@
ENDIF(WIN32)
INSTALL(TARGETS _GeomDataAPI DESTINATION swig)
INSTALL(FILES ${SWIG_SCRIPTS} DESTINATION swig)
INSTALL(TARGETS _GeomDataAPI DESTINATION swig)
INSTALL(FILES ${SWIG_SCRIPTS} DESTINATION swig)
+
+ADD_UNIT_TESTS(TestConstants.py)