Commit b2267ec7 authored by Dick Hollenbeck's avatar Dick Hollenbeck

temporarily disable GITHUB_PLUGIN

parent 579f2886
...@@ -54,7 +54,8 @@ option( KICAD_SCRIPTING_WXPYTHON ...@@ -54,7 +54,8 @@ option( KICAD_SCRIPTING_WXPYTHON
option( USE_FP_LIB_TABLE "Use the new footprint library table implementation. ( default OFF)" ) option( USE_FP_LIB_TABLE "Use the new footprint library table implementation. ( default OFF)" )
if( NOT MINGW ) # BUILD_GITHUB_PLUGIN is not MINGW ready yet. if( NOT MINGW ) # BUILD_GITHUB_PLUGIN is not MINGW ready yet.
option( BUILD_GITHUB_PLUGIN "Build the GITHUB_PLUGIN for pcbnew." OFF ) # still have some build problems, even on linux
#option( BUILD_GITHUB_PLUGIN "Build the GITHUB_PLUGIN for pcbnew." OFF )
endif() endif()
......
...@@ -50,7 +50,7 @@ if( BUILD_GITHUB_PLUGIN ) ...@@ -50,7 +50,7 @@ if( BUILD_GITHUB_PLUGIN )
program_options program_options
regex regex
#signals #signals
#system system
thread thread
unit_test_framework unit_test_framework
) )
...@@ -73,12 +73,17 @@ set( PREFIX ${DOWNLOAD_DIR}/boost_${BOOST_VERS} ) ...@@ -73,12 +73,17 @@ set( PREFIX ${DOWNLOAD_DIR}/boost_${BOOST_VERS} )
set( headers_src "${PREFIX}/src/boost/boost" ) set( headers_src "${PREFIX}/src/boost/boost" )
# don't look at this, not used, not working, not needed at this time.
function( set_boost_lib_names libs output ) function( set_boost_lib_names libs output )
foreach( lib ${libs} ) foreach( lib ${libs} )
set( fullpath_lib, "${BOOST_ROOT}/lib/libboost_${lib}.a" )
if( false )
set( fullpath_lib, "${BOOST_ROOT}/lib/libboost_${lib}.${CMAKE_STATIC_LIBRARY_SUFFIX}" )
message( STATUS "fullpath_lib:${fullpath_lib}" ) message( STATUS "fullpath_lib:${fullpath_lib}" )
set( output ${output} ${fullpath_lib} ) list( APPEND output ${fullpath_lib} )
endif()
message( STATUS "lib:${lib}" )
endforeach() endforeach()
endfunction() endfunction()
...@@ -130,10 +135,10 @@ if( BUILD_GITHUB_PLUGIN ) ...@@ -130,10 +135,10 @@ if( BUILD_GITHUB_PLUGIN )
INSTALL_COMMAND "" INSTALL_COMMAND ""
) )
ExternalProject_Get_Property( boost install_dir ) #file( GLOB boost_libs "${BOOST_ROOT}/lib/*${CMAKE_STATIC_LIBRARY_SUFFIX}" )
set_boost_lib_names( ${BOOST_LIBS_BUILT} boost_libs )
file( GLOB boost_libs "${install_dir}/lib/*${CMAKE_STATIC_LIBRARY_SUFFIX}" ) message( STATUS "BOOST_ROOT:${BOOST_ROOT} boost_libs:${boost_libs}" )
message( STATUS BOOST_ROOT:${BOOST_ROOT} boost_libs:${boost_libs} )
set( Boost_LIBRARIES ${boost_libs} CACHE FILEPATH "Boost libraries directory" ) set( Boost_LIBRARIES ${boost_libs} CACHE FILEPATH "Boost libraries directory" )
set( Boost_INCLUDE_DIR "${BOOST_ROOT}/include" CACHE FILEPATH "Boost include directory" ) set( Boost_INCLUDE_DIR "${BOOST_ROOT}/include" CACHE FILEPATH "Boost include directory" )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment