File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
77include_directories (${PYTHONHOME} /include )
88link_directories (${PYTHONHOME} /libs )
99
10- add_definitions (-DPY_INCLUDE )
10+ add_definitions (-DMATPLOTLIBCPP_PYTHON_HEADER=Python.h )
1111
1212# message(STATUS "*** dump start cmake variables ***")
1313# get_cmake_property(_variableNames VARIABLES)
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ changes break any of them.
1212### Configuring and Building Samples
1313
1414``` cmd
15- > cd Win
16- > Win\build_win .cmd
15+ > cd contrib
16+ > WinBuild .cmd
1717```
1818
19- The ` build_win .cmd` will set up temporal ENV variables and build binaries in (matplotlib root)/examples with the Release configuration.
19+ The ` WinBuild .cmd` will set up temporal ENV variables and build binaries in (matplotlib root)/examples with the Release configuration.
Original file line number Diff line number Diff line change @@ -31,15 +31,15 @@ pushd build
3131cmake -G" !CMAKE_GENERATOR! " ^
3232 -DPYTHONHOME:STRING=%PYTHONHOME% ^
3333 -DCMAKE_BUILD_TYPE:STRING=%CMAKE_CONFIG% ^
34- ../../Win/
34+ %~dp0
3535cmake --build . --config %CMAKE_CONFIG%
3636
3737pushd %CMAKE_CONFIG%
3838if not EXIST platforms mkdir platforms
3939if EXIST %PYTHONHOME% /Library/plugins/platforms/qwindows.dll ^
4040cp %PYTHONHOME% /Library/plugins/platforms/qwindows.dll ./platforms/
4141popd
42- move ./%CMAKE_CONFIG% ../
42+ REM move ./%CMAKE_CONFIG% ../
4343popd
4444popd
4545popd
You can’t perform that action at this time.
0 commit comments