itcl_configure_step.cmake.in 709 Bytes
Newer Older
1

2
3
4
5
6
7
8
9
10
11
execute_process(
  COMMAND ${CMAKE_COMMAND} -E copy configure configure.orig
  WORKING_DIRECTORY @tcl_base@/incrTcl/itcl
)

execute_process(
  COMMAND sed -e "s/\\*\\.c | \\*\\.o | \\*\\.obj) ;;/\\*\\.c | \\*\\.o | \\*\\.obj | \\*\\.dSYM | \\*\\.gnoc ) ;;/" configure.orig
  OUTPUT_FILE @tcl_base@/incrTcl/itcl/configure
  WORKING_DIRECTORY @tcl_base@/incrTcl/itcl
)
12

13
execute_process(
14
15
16
17
18
19
20
21
  COMMAND ./configure --prefix=@tcl_build@ --with-tcl=@tcl_build@/lib --with-tk=@tcl_build@/lib  --x-libraries=/usr/X11R6/lib --x-includes=/usr/X11R6/include
  WORKING_DIRECTORY @tcl_base@/incrTcl
)

execute_process(
  COMMAND ${CMAKE_COMMAND} -E copy configure.orig configure
  WORKING_DIRECTORY @tcl_base@/incrTcl/itcl
)