1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/samples/mfc/standard/08_HLR/CMakeLists.txt
ibs 4a0c5c25a4 0024469: cmake mfcsample project skippes ParamsFacesPage
add ParamsFacesPage.cpp and ParamsFacesPage.h in mfcsample cmake project

Unrelated changes: common samples include paths have lower priority than specific ones
Unrelated changes: debug tbb cmake seeks with _debug postfix
2013-12-17 12:25:09 +04:00

74 lines
3.2 KiB
CMake

cmake_minimum_required (VERSION 2.6)
project (HLR)
add_definitions(-DWINVER=0x0500)
set (HLR_SRC_DIR ${MFC_STANDARD_SAMPLES_DIR}/08_HLR/src)
set (HLR_HEADER_FILES ${HLR_SRC_DIR}/HLRApp.h
${HLR_SRC_DIR}/HLRDoc.h
${HLR_SRC_DIR}/HLRView2D.h
${HLR_SRC_DIR}/SelectionDialog.h
${HLR_SRC_DIR}/StdAfx.h )
set (HLR_SOURCE_FILES ${HLR_SRC_DIR}/HLRApp.cpp
${HLR_SRC_DIR}/HLRDoc.cpp
${HLR_SRC_DIR}/HLRView2D.cpp
${HLR_SRC_DIR}/SelectionDialog.cpp
${HLR_SRC_DIR}/StdAfx.cpp )
set (HLR_RESOURCE_DIR ${MFC_STANDARD_SAMPLES_DIR}/08_HLR/res)
set (HLR_RESOURCE_HEADER ${HLR_RESOURCE_DIR}/resource.h)
set (HLR_RESOURCE_FILES ${HLR_RESOURCE_DIR}/axoviewd.bmp
${HLR_RESOURCE_DIR}/axoviewf.bmp
${HLR_RESOURCE_DIR}/AXOVIEWU.bmp
${HLR_RESOURCE_DIR}/BACKVIEWD.bmp
${HLR_RESOURCE_DIR}/BACKVIEWF.bmp
${HLR_RESOURCE_DIR}/BACKVIEWU.bmp
${HLR_RESOURCE_DIR}/BOTTOMVIEWD.bmp
${HLR_RESOURCE_DIR}/BOTTOMVIEWF.bmp
${HLR_RESOURCE_DIR}/BOTTOMVIEWU.bmp
${HLR_RESOURCE_DIR}/ChildFrame2D.bmp
${HLR_RESOURCE_DIR}/ChildFrame3D.bmp
${HLR_RESOURCE_DIR}/FRONTVIEWD.bmp
${HLR_RESOURCE_DIR}/FRONTVIEWF.bmp
${HLR_RESOURCE_DIR}/FRONTVIEWU.bmp
${HLR_RESOURCE_DIR}/LEFTVIEWD.bmp
${HLR_RESOURCE_DIR}/LEFTVIEWF.bmp
${HLR_RESOURCE_DIR}/LEFTVIEWU.bmp
${HLR_RESOURCE_DIR}/RIGHTVIEWD.bmp
${HLR_RESOURCE_DIR}/RIGHTVIEWF.bmp
${HLR_RESOURCE_DIR}/RIGHTVIEWU.bmp
${HLR_RESOURCE_DIR}/Toolbar.bmp
${HLR_RESOURCE_DIR}/ToolBarObjects.bmp
${HLR_RESOURCE_DIR}/topviewd.bmp
${HLR_RESOURCE_DIR}/topviewf.bmp
${HLR_RESOURCE_DIR}/topviewu.bmp
${HLR_RESOURCE_DIR}/HLR.rc)
# groups in the VS solution
source_group ("Source Files" FILES ${HLR_SOURCE_FILES}
${COMMON_WINMAIN_FILE})
source_group ("Header Files" FILES ${HLR_HEADER_FILES}
${HLR_RESOURCE_HEADER})
source_group ("Resource Files" FILES ${HLR_RESOURCE_FILES})
add_executable (HLR WIN32 ${HLR_SOURCE_FILES}
${HLR_HEADER_FILES}
${COMMON_WINMAIN_FILE}
${HLR_RESOURCE_HEADER}
${HLR_RESOURCE_FILES} )
set_property (TARGET HLR PROPERTY FOLDER Samples)
install (TARGETS HLR RUNTIME DESTINATION "${INSTALL_DIR}/bin"
ARCHIVE DESTINATION "${INSTALL_DIR}/lib"
LIBRARY DESTINATION "${INSTALL_DIR}/lib")
include_directories (${OCCT_ROOT}/inc
${HLR_RESOURCE_DIR}
${HLR_SRC_DIR}
${MFC_STANDARD_SAMPLES_DIR}/Common)
target_link_libraries (HLR mfcsample)