Hi there,
Perhaps there is a better forum, the developers mailing list for example, but I’ll try here first.
I’m building latest kicad revision bzr 5324 and the everything seems fine until:
cmake ../kicad -DCMAKE_C_COMPILER=clang
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.10
-DwxWidgets_CONFIG_EXECUTABLE=../wx-bin/bin/wx-config
-DPYTHON_EXECUTABLE=`which python`
-DPYTHON_SITE_PACKAGE_PATH=`pwd`/../wx-bin/lib/python2.7/site-packages
-DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON
-DKICAD_SCRIPTING_WXPYTHON=ON -DCMAKE_INSTALL_PREFIX=../bin
-DCMAKE_BUILD_TYPE=Release
-- The C compiler identification is AppleClang 6.0.0.6000056
-- The CXX compiler identification is AppleClang 6.0.0.6000056
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at CMakeLists.txt:79 (install):
install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target "kicad".
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 3.0)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
See also "/Users/jsr/dev_ext/kicad.bzr/build/CMakeFiles/CMakeOutput.log".
My cmake version is 3.0.2 as supplied by Homebrew. wxWidgets seemed to patch and build fine.
Any pointers appreciated.