${PROJECT_BINARY_DIR}
${PROJECT_SOURCE_DIR}/src
)
-SUBDIRS(src)
+ADD_SUBDIRECTORY(src)
OPTION(BUILD_CREA_BRUKER "Build creaIRM with creaBruker?" ON)
ENDIF(BUILD_CREA_PACS)
#
-SUBDIRS(appli)
-SUBDIRS(bbtk)
-SUBDIRS(tests)
+ADD_SUBDIRECTORY(appli)
+ADD_SUBDIRECTORY(bbtk)
+ADD_SUBDIRECTORY(tests)
IF(MSVC AND CMAKE_SIZEOF_VOID_P MATCHES 4)
- SUBDIRS(win32)
+ ADD_SUBDIRECTORY(win32)
endif()
IF(MSVC AND CMAKE_SIZEOF_VOID_P MATCHES 8)
- SUBDIRS(win64)
+ ADD_SUBDIRECTORY(win64)
endif()
-SUBDIRS(install)
+ADD_SUBDIRECTORY(install)
ENABLE_TESTING()
IF(!USE_INSTALL_APP)
- SUBDIRS(gimmick)
- SUBDIRS(TestGimmickReaderDialog)
+ ADD_SUBDIRECTORY(gimmick)
+ ADD_SUBDIRECTORY(TestGimmickReaderDialog)
ENDIF(!USE_INSTALL_APP)
if(USE_WXWIDGETS)
IF(!USE_INSTALL_APP)
- SUBDIRS(wxGimmick)
+ ADD_SUBDIRECTORY(wxGimmick)
ENDIF(!USE_INSTALL_APP)
- SUBDIRS(TestWxGimmickReaderDialog)
- SUBDIRS(TestWxSimpleView)
+ ADD_SUBDIRECTORY(TestWxGimmickReaderDialog)
+ ADD_SUBDIRECTORY(TestWxSimpleView)
ENDIF(USE_WXWIDGETS)
IF(USE_QT4)
- SUBDIRS(TestQtGimmick)
+ ADD_SUBDIRECTORY(TestQtGimmick)
ENDIF(USE_QT4)
- #SUBDIRS(TestWxGimmickReaderDialogJava)
+ #ADD_SUBDIRECTORY(TestWxGimmickReaderDialogJava)
#LSE (BUILD_V2)
- # SUBDIRS(TestWxGimmickDialog)
+ # ADD_SUBDIRECTORY(TestWxGimmickDialog)
#ENDIF (BUILD_V2)