Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
579f2886
Commit
579f2886
authored
Sep 21, 2013
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUILD_GITHUB_PLUGIN issues.
parent
95b67c8b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
6 deletions
+11
-6
CMakeLists.txt
CMakeLists.txt
+3
-1
download_boost.cmake
CMakeModules/download_boost.cmake
+6
-3
CMakeLists.txt
pcbnew/github/CMakeLists.txt
+2
-2
No files found.
CMakeLists.txt
View file @
579f2886
...
@@ -53,7 +53,9 @@ option( KICAD_SCRIPTING_WXPYTHON
...
@@ -53,7 +53,9 @@ 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)"
)
option
(
BUILD_GITHUB_PLUGIN
"Build the GITHUB_PLUGIN for pcbnew."
OFF
)
if
(
NOT MINGW
)
# BUILD_GITHUB_PLUGIN is not MINGW ready yet.
option
(
BUILD_GITHUB_PLUGIN
"Build the GITHUB_PLUGIN for pcbnew."
OFF
)
endif
()
#Set version option (stable or testing)
#Set version option (stable or testing)
...
...
CMakeModules/download_boost.cmake
View file @
579f2886
...
@@ -104,6 +104,7 @@ if( BUILD_GITHUB_PLUGIN )
...
@@ -104,6 +104,7 @@ if( BUILD_GITHUB_PLUGIN )
ExternalProject_Add
(
boost
ExternalProject_Add
(
boost
PREFIX
"
${
PREFIX
}
"
PREFIX
"
${
PREFIX
}
"
DOWNLOAD_DIR
"
${
DOWNLOAD_DIR
}
"
DOWNLOAD_DIR
"
${
DOWNLOAD_DIR
}
"
INSTALL_DIR
"
${
BOOST_ROOT
}
"
URL http://downloads.sourceforge.net/project/boost/boost/
${
BOOST_RELEASE
}
/boost_
${
BOOST_VERS
}
.tar.bz2
URL http://downloads.sourceforge.net/project/boost/boost/
${
BOOST_RELEASE
}
/boost_
${
BOOST_VERS
}
.tar.bz2
URL_MD5
${
BOOST_MD5
}
URL_MD5
${
BOOST_MD5
}
...
@@ -123,14 +124,16 @@ if( BUILD_GITHUB_PLUGIN )
...
@@ -123,14 +124,16 @@ if( BUILD_GITHUB_PLUGIN )
threading=multi
threading=multi
toolset=gcc
toolset=gcc
#link=static
#link=static
--prefix=
${
BOOST_ROOT
}
--prefix=
<INSTALL_DIR>
install
install
INSTALL_COMMAND
""
INSTALL_COMMAND
""
)
)
file
(
GLOB boost_libs
"
${
BOOST_ROOT
}
/lib/*
${
CMAKE_STATIC_LIBRARY_SUFFIX
}
"
)
ExternalProject_Get_Property
(
boost install_dir
)
#message( STATUS BOOST_ROOT:${BOOST_ROOT} boost_libs:${boost_libs} )
file
(
GLOB boost_libs
"
${
install_dir
}
/lib/*
${
CMAKE_STATIC_LIBRARY_SUFFIX
}
"
)
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"
)
...
...
pcbnew/github/CMakeLists.txt
View file @
579f2886
...
@@ -47,8 +47,8 @@ include_directories( . ${OPENSSL_INCLUDE_DIR} ${AVHTTP_INCLUDE_DIR} )
...
@@ -47,8 +47,8 @@ include_directories( . ${OPENSSL_INCLUDE_DIR} ${AVHTTP_INCLUDE_DIR} )
add_definitions
(
-DAVHTTP_ENABLE_OPENSSL
)
add_definitions
(
-DAVHTTP_ENABLE_OPENSSL
)
# tone down the compiler warnings for avhttp header library:
# tone down the compiler warnings for avhttp header library:
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-Wno-sign-compare -Wno-reorder -Wno-unused-variable -Wno-unused-function"
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-Wno-sign-compare -Wno-reorder -Wno-unused-variable -Wno-unused-function -Wno-strict-aliasing"
)
set
(
GITHUB_PLUGIN_SRCS
set
(
GITHUB_PLUGIN_SRCS
github_plugin.cpp
github_plugin.cpp
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment