-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into documentation/howto_build_the_maven_artifa…
…ct_yourself
- Loading branch information
Showing
5 changed files
with
44 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
cmake_path(SET SWIG_JAVA_RESOURCES_NATIVE_DIR ${SWIG_JAVA_RESOURCES_DIR}/native) | ||
cmake_path(SET QL_MVN_SWIG_JAVA_RESOURCES_NATIVE_DIR ${QL_MVN_SWIG_JAVA_RESOURCES_DIR}/native) | ||
if (${WIN32}) | ||
cmake_path(APPEND SWIG_JAVA_RESOURCES_NATIVE_DIR windows) | ||
cmake_path(APPEND QL_MVN_SWIG_JAVA_RESOURCES_NATIVE_DIR windows) | ||
if (${CMAKE_SIZEOF_VOID_P} EQUAL 4) | ||
cmake_path(APPEND SWIG_JAVA_RESOURCES_NATIVE_DIR x86) | ||
cmake_path(APPEND QL_MVN_SWIG_JAVA_RESOURCES_NATIVE_DIR x86) | ||
else () | ||
cmake_path(APPEND SWIG_JAVA_RESOURCES_NATIVE_DIR amd64) | ||
cmake_path(APPEND QL_MVN_SWIG_JAVA_RESOURCES_NATIVE_DIR amd64) | ||
endif () | ||
elseif (${LINUX}) | ||
cmake_path(APPEND SWIG_JAVA_RESOURCES_NATIVE_DIR linux) | ||
cmake_path(APPEND QL_MVN_SWIG_JAVA_RESOURCES_NATIVE_DIR linux) | ||
elseif (${APPLE}) | ||
cmake_path(APPEND SWIG_JAVA_RESOURCES_NATIVE_DIR macos) | ||
cmake_path(APPEND QL_MVN_SWIG_JAVA_RESOURCES_NATIVE_DIR macos) | ||
else () | ||
message(FATAL_ERROR "Unsupported platform ${CMAKE_SYSTEM}...") | ||
endif () | ||
|
||
file(MAKE_DIRECTORY ${SWIG_JAVA_RESOURCES_NATIVE_DIR}) | ||
file(MAKE_DIRECTORY ${QL_MVN_SWIG_JAVA_RESOURCES_NATIVE_DIR}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters