Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
linphone-cmake-builder
Commits
937d4405
Commit
937d4405
authored
Mar 04, 2014
by
Ghislain MARY
Browse files
Allow specifying pkg-config command per project (useful for static linking of libraries).
parent
18fd6bae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
cmake/LinphoneCMakeBuilder.cmake
cmake/LinphoneCMakeBuilder.cmake
+6
-0
No files found.
cmake/LinphoneCMakeBuilder.cmake
View file @
937d4405
...
...
@@ -259,6 +259,12 @@ function(linphone_builder_add_project PROJNAME)
set
(
SCRIPT_EXTENSION sh
)
endif
(
MSVC
)
if
(
"
${
EP_
${
PROJNAME
}
_PKG_CONFIG
}
"
STREQUAL
""
)
set
(
LINPHONE_BUILDER_PKG_CONFIG
"pkg-config"
)
else
(
"
${
EP_
${
PROJNAME
}
_PKG_CONFIG
}
"
STREQUAL
""
)
set
(
LINPHONE_BUILDER_PKG_CONFIG
"
${
EP_
${
PROJNAME
}
_PKG_CONFIG
}
"
)
endif
(
"
${
EP_
${
PROJNAME
}
_PKG_CONFIG
}
"
STREQUAL
""
)
configure_file
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake/configure.sh.cmake
${
CMAKE_CURRENT_BINARY_DIR
}
/EP_
${
PROJNAME
}
_configure.sh
)
configure_file
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake/build.sh.cmake
${
CMAKE_CURRENT_BINARY_DIR
}
/EP_
${
PROJNAME
}
_build.sh
)
configure_file
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake/install.sh.cmake
${
CMAKE_CURRENT_BINARY_DIR
}
/EP_
${
PROJNAME
}
_install.sh
)
...
...
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