forked from Segs/Segs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Modify 3rd party build process. * Remove unused zlib sources * Add naked_ace.tgz to the repository * Use unique_ptr instead of deprecated auto_ptr
- Loading branch information
Showing
107 changed files
with
105 additions
and
31,605 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
libname(ace ACE) | ||
ExternalProject_Add( | ||
ACE_BUILD | ||
URL http://nemerle.eu/naked_ace.tar.gz | ||
SOURCE_DIR ${PROJECT_SOURCE_DIR}/3rd_party/naked_ace | ||
URL ${CMAKE_CURRENT_SOURCE_DIR}/naked_ace.tgz | ||
UPDATE_COMMAND "" | ||
INSTALL_DIR ${ThirdParty_Install_Dir} | ||
CMAKE_ARGS -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} -DCMAKE_STAGING_PREFIX:PATH=${ThirdParty_Install_Dir} | ||
CMAKE_ARGS -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} -DCMAKE_STAGING_PREFIX:PATH=${ThirdParty_Install_Dir} -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR> | ||
CMAKE_GENERATOR "${CMAKE_GENERATOR}" | ||
CMAKE_GENERATOR_TOOLSET ${CMAKE_GENERATOR_TOOLSET} | ||
BUILD_BYPRODUCTS ${ace_LIBRARY_SHARED} | ||
BUILD_BYPRODUCTS ${ace_LIBRARY_SHARED} ${ace_LIBRARY_STATIC} ${ace_LIBRARY_IMP} | ||
) | ||
|
||
ADD_LIBRARY(ace_IMP SHARED IMPORTED GLOBAL) | ||
add_dependencies(ace_IMP ace_BUILD) | ||
SET_PROPERTY(TARGET ace_IMP APPEND PROPERTY IMPORTED_LOCATION ${ace_LIBRARY_SHARED} ) | ||
SET_PROPERTY(TARGET ace_IMP APPEND PROPERTY IMPORTED_LOCATION_DEBUG ${ace_LIBRARY_SHARED_D} ) | ||
SET_PROPERTY(TARGET ace_IMP APPEND PROPERTY IMPORTED_LOCATION_RELEASE ${ace_LIBRARY_SHARED} ) | ||
add_dependencies(ace_IMP ACE_BUILD) | ||
set_shared_lib_properties(ace) | ||
set_property(TARGET ace_IMP APPEND PROPERTY INTERFACE_COMPILE_DEFINITIONS ACE_HAS_DLL=1) |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
libname(sqlite sqlite) | ||
|
||
ExternalProject_Add( | ||
SQLite_BUILD | ||
SOURCE_DIR ${PROJECT_SOURCE_DIR}/3rd_party/naked_sqlite | ||
DOWNLOAD_COMMAND "" | ||
UPDATE_COMMAND "" | ||
INSTALL_DIR ${ThirdParty_Install_Dir} | ||
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR> -DCMAKE_CXX_COMPILER:FILEPATH=${CMAKE_CXX_COMPILER} -DCMAKE_C_COMPILER:FILEPATH=${CMAKE_C_COMPILER} | ||
CMAKE_GENERATOR "${CMAKE_GENERATOR}" | ||
CMAKE_GENERATOR_TOOLSET ${CMAKE_GENERATOR_TOOLSET} | ||
BUILD_BYPRODUCTS ${sqlite_LIBRARY_STATIC} | ||
) | ||
ADD_LIBRARY(sqlite_IMP STATIC IMPORTED GLOBAL) | ||
add_dependencies(sqlite_IMP ACE_BUILD) | ||
SET_PROPERTY(TARGET sqlite_IMP APPEND PROPERTY IMPORTED_LOCATION ${sqlite_LIBRARY_STATIC} ) | ||
SET_PROPERTY(TARGET sqlite_IMP APPEND PROPERTY IMPORTED_LOCATION_DEBUG ${sqlite_LIBRARY_STATIC_D} ) | ||
SET_PROPERTY(TARGET sqlite_IMP APPEND PROPERTY IMPORTED_LOCATION_RELEASE ${sqlite_LIBRARY_STATIC} ) |
Binary file not shown.
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.