]> SALOME platform Git repositories - modules/hydro.git/blob - CMake/Common.cmake
Salome HOME
corrections after merge
[modules/hydro.git] / CMake / Common.cmake
1 cmake_minimum_required (VERSION 2.6)
2 cmake_policy(SET CMP0011 NEW)
3
4 set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib/salome)
5 set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib/salome)
6 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/salome)
7
8 set(CMAKE_INCLUDE_CURRENT_DIR ON)
9
10 IF( MSVC )
11   set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP" )
12   message(STATUS "Added parallel build arguments to CMAKE_CXX_FLAGS: ${CMAKE_CXX_FLAGS}")
13 ENDIF()