INCLUDE(${CREA_CMAKE_DIR}/CREAResolveOptions.cmake)
-SUBDIRS(cmake)
-SUBDIRS(src)
-SUBDIRS(appli)
+ADD_SUBDIRECTORY(cmake)
+ADD_SUBDIRECTORY(src)
+ADD_SUBDIRECTORY(appli)
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src)
INCLUDE_DIRECTORIES(${PROJECT_BINARY_DIR}/src)
#-----------------------------------------------------------------------------
OPTION( BUILD_SAMPLES "Build samples ?" OFF)
IF(BUILD_SAMPLES)
- SUBDIRS(samples)
+ ADD_SUBDIRECTORY(samples)
ENDIF(BUILD_SAMPLES)
#-----------------------------------------------------------------------------
-SUBDIRS(install)
+ADD_SUBDIRECTORY(install)
INSTALL( FILES creatis_AppGeneralPath.bat DESTINATION bin )
-IF(${CREA_BUILD_WX})
- SUBDIRS(creaNewProject)
-ENDIF(${CREA_BUILD_WX})
+IF(CREA_BUILD_WX)
+ add_subdirectory(creaNewProject)
+ENDIF(CREA_BUILD_WX)
IF(WIN32)
- SUBDIRS(creaSed)
+ add_subdirectory(creaSed)
ENDIF(WIN32)