1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-06 18:26:22 +03:00
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

57 lines
2.6 KiB
CMake

cmake_minimum_required (VERSION 2.6)
project (Animation)
add_definitions (-DWINVER=0x0500)
set (Animation_SRC_DIR ${MFC_STANDARD_SAMPLES_DIR}/09_Animation/src)
set (Animation_HEADER_FILES ${Animation_SRC_DIR}/AnimationApp.h
${Animation_SRC_DIR}/AnimationDoc.h
${Animation_SRC_DIR}/AnimationView3D.h
${Animation_SRC_DIR}/Fonc.hxx
${Animation_SRC_DIR}/Sensitivity.h
${Animation_SRC_DIR}/ShadingDialog.h
${Animation_SRC_DIR}/ThreadDialog.h
${Animation_SRC_DIR}/Tune.h
${Animation_SRC_DIR}/StdAfx.h )
set (Animation_SOURCE_FILES ${Animation_SRC_DIR}/AnimationApp.cpp
${Animation_SRC_DIR}/AnimationDoc.cpp
${Animation_SRC_DIR}/AnimationView3D.cpp
${Animation_SRC_DIR}/Fonc.cxx
${Animation_SRC_DIR}/Sensitivity.cpp
${Animation_SRC_DIR}/ShadingDialog.cpp
${Animation_SRC_DIR}/ThreadDialog.cpp
${Animation_SRC_DIR}/Tune.cpp
${Animation_SRC_DIR}/StdAfx.cpp )
set (Animation_RESOURCE_DIR ${MFC_STANDARD_SAMPLES_DIR}/09_Animation/res)
set (Animation_RESOURCE_HEADER ${Animation_RESOURCE_DIR}/resource.h)
set (Animation_RESOURCE_FILES ${Animation_RESOURCE_DIR}/child2.bmp
${Animation_RESOURCE_DIR}/Toolbar.bmp
${Animation_RESOURCE_DIR}/Animation.rc)
# groups in the VS solution
source_group ("Source Files" FILES ${Animation_SOURCE_FILES}
${COMMON_WINMAIN_FILE})
source_group ("Header Files" FILES ${Animation_HEADER_FILES})
source_group ("Resource Files" FILES ${Animation_RESOURCE_FILES})
add_executable (Animation WIN32 ${Animation_SOURCE_FILES}
${Animation_HEADER_FILES}
${COMMON_WINMAIN_FILE}
${Animation_RESOURCE_FILES})
set_property (TARGET Animation PROPERTY FOLDER Samples)
install (TARGETS Animation RUNTIME DESTINATION "${INSTALL_DIR}/bin"
ARCHIVE DESTINATION "${INSTALL_DIR}/lib"
LIBRARY DESTINATION "${INSTALL_DIR}/lib")
include_directories (${OCCT_ROOT}/inc
${Animation_RESOURCE_DIR}
${Animation_SRC_DIR}
${MFC_STANDARD_SAMPLES_DIR}/Common)
target_link_libraries (Animation mfcsample TKBO)