Changeset View
Changeset View
Standalone View
Standalone View
source/creator/CMakeLists.txt
| Show First 20 Lines • Show All 118 Lines • ▼ Show 20 Lines | |||||
| set(SRC | set(SRC | ||||
| creator.c | creator.c | ||||
| creator_args.c | creator_args.c | ||||
| creator_signals.c | creator_signals.c | ||||
| creator_intern.h | creator_intern.h | ||||
| ) | ) | ||||
| if(WITH_GTESTS) | |||||
| blender_include_dirs(../../tests/gtests) | |||||
| list(APPEND LIB bf_gtest_runner) | |||||
| endif() | |||||
| # MSVC 2010 gives linking errors with the manifest | # MSVC 2010 gives linking errors with the manifest | ||||
| if(WIN32 AND NOT UNIX) | if(WIN32 AND NOT UNIX) | ||||
| string(SUBSTRING ${BLENDER_VERSION} 0 1 bver1) | string(SUBSTRING ${BLENDER_VERSION} 0 1 bver1) | ||||
| string(SUBSTRING ${BLENDER_VERSION} 2 1 bver2) | string(SUBSTRING ${BLENDER_VERSION} 2 1 bver2) | ||||
| string(SUBSTRING ${BLENDER_VERSION} 3 1 bver3) | string(SUBSTRING ${BLENDER_VERSION} 3 1 bver3) | ||||
| add_definitions( | add_definitions( | ||||
| -DBLEN_VER_RC_STR="${BLENDER_VERSION}" | -DBLEN_VER_RC_STR="${BLENDER_VERSION}" | ||||
| -DBLEN_VER_RC_1=${bver1} | -DBLEN_VER_RC_1=${bver1} | ||||
| ▲ Show 20 Lines • Show All 1,015 Lines • Show Last 20 Lines | |||||