basic infrastructure

This commit is contained in:
Stefan Tröger
2013-04-25 11:58:21 +02:00
committed by Stefan Tröger
parent 395557b096
commit d50f7f1787
42 changed files with 488 additions and 3460 deletions

View File

@@ -4,9 +4,14 @@ else(MSVC)
add_definitions(-DHAVE_LIMITS_H -DHAVE_CONFIG_H)
endif(MSVC)
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
add_definitions( -DUSE_LOGGING )
endif (CMAKE_BUILD_TYPE STREQUAL "Debug")
include_directories(
${CMAKE_SOURCE_DIR}/src
${CMAKE_BINARY_DIR}/src
${CMAKE_SOURCE_DIR}/src/Mod/Assembly/App
${CMAKE_CURRENT_BINARY_DIR}
${Boost_INCLUDE_DIRS}
${OCC_INCLUDE_DIR}
@@ -23,27 +28,20 @@ set(Assembly_LIBS
${OCC_LIBRARIES}
Part
FreeCADApp
boost_log
rt
${Boost_SYSTEM_LIBRARY}
${Boost_FILESYSTEM_LIBRARY}
${Boost_THREAD_LIBRARY}
)
generate_from_xml(ItemPy)
generate_from_xml(ItemAssemblyPy)
generate_from_xml(ItemPartPy)
generate_from_xml(ConstraintPy)
generate_from_xml(ConstraintAxisPy)
generate_from_xml(ConstraintGroupPy)
SET(FreeGCS3D_SRCS
gcs3d/GCS.cpp
gcs3d/GCS.h
gcs3d/Util.h
gcs3d/Geo.h
gcs3d/Constraints.cpp
gcs3d/Constraints.h
gcs3d/SubSystem.cpp
gcs3d/SubSystem.h
gcs3d/qp_eq.cpp
gcs3d/qp_eq.h
)
SOURCE_GROUP("FreeGCS3D" FILES ${FreeGCS3D_SRCS})
SET(Features_SRCS
Item.cpp
Item.h
@@ -83,6 +81,10 @@ SET(Python_SRCS
ItemAssemblyPyImp.cpp
ItemPartPy.xml
ItemPartPyImp.cpp
ConstraintPy.xml
ConstraintPyImp.cpp
ConstraintAxisPy.xml
ConstraintAxisPyImp.cpp
ConstraintGroupPy.xml
ConstraintGroupPyImp.cpp
)
@@ -92,7 +94,6 @@ SET(Assembly_SRCS
${Features_SRCS}
${Python_SRCS}
${Module_SRCS}
${FreeGCS3D_SRCS}
)