Changeset 8946:620b35b57b78 in orange


Ignore:
Timestamp:
09/10/11 14:25:40 (3 years ago)
Author:
mitar
Branch:
default
Convert:
aea6b5706913f21391cdc8c522123d13547c5ea4
Message:

Added Python version information when compiling with cmake.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orangeqt/Makefile

    r8943 r8946  
    77endif 
    88 
     9PYTHON_VERSION = $(shell $(PYTHON) -c 'import sys; print "%s.%s" % sys.version_info[:2]') 
    910OS = $(shell uname) 
    1011 
    1112all: 
    1213    mkdir -p $(ORANGEPLOT_BUILD_DIR) 
    13     cd $(ORANGEPLOT_BUILD_DIR); cmake -DCMAKE_BUILD_TYPE=Debug -DORANGE_LIB_DIR=$(abspath $(OLD)) -DPYTHON_EXECUTABLE=$(PYTHON) $(EXTRA_ORANGEQT_CMAKE_ARGS) .. 
     14    cd $(ORANGEPLOT_BUILD_DIR); cmake -DCMAKE_BUILD_TYPE=Debug -DORANGE_LIB_DIR=$(abspath $(OLD)) -DPYTHON_EXECUTABLE=$(PYTHON) -DCMAKE_USE_PYTHON_VERSION=$(PYTHON_VERSION) $(EXTRA_ORANGEQT_CMAKE_ARGS) .. 
    1415    if ! $(MAKE) $@ -C $(ORANGEPLOT_BUILD_DIR); then exit 1; fi; 
    1516ifeq ($(OS), Darwin) 
Note: See TracChangeset for help on using the changeset viewer.