X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=CMakeLists.txt;h=f68683cd2dd229cc8eaaa3f0c43d19bfbce67d8e;hb=51d1512384795766facfea3b97b47f4cc9266e4a;hp=029935f1e6c55e90f9e4d8d5567a6d3b377153a0;hpb=d7e8ba0c56afd6ccff2ff42cf3760752ba0a95c6;p=modules%2Fhydro.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 029935f1..f68683cd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,6 +2,10 @@ cmake_minimum_required (VERSION 2.6) project (HYDRO) +IF(WIN32) + ADD_DEFINITIONS(-DWNT) +ENDIF(WIN32) + SET(KERNEL_ROOT_DIR $ENV{KERNEL_ROOT_DIR} CACHE PATH "Path to the Salome KERNEL") IF(EXISTS ${KERNEL_ROOT_DIR}) INCLUDE(${KERNEL_ROOT_DIR}/salome_adm/cmake_files/FindKERNEL.cmake) @@ -31,7 +35,7 @@ find_package(SalomeCPPUNIT) set(HYDRO_salomeres_DATA share/salome/resources/hydro) add_subdirectory (src/HYDROData) -add_subdirectory (src/HYDROOperations) add_subdirectory (src/HYDROGUI) +add_subdirectory (src/HYDROPy) enable_testing()