-
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.
- Loading branch information
Showing
127 changed files
with
6,405 additions
and
5,911 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
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,45 +1,45 @@ | ||
create_configure_files("${OpenCASCADE_INCLUDE_DIR};${CMAKE_CURRENT_SOURCE_DIR}") | ||
get_smokegen_args(smokegenArgs tkxde) | ||
get_smokegen_args(smokegenArgs tkde) | ||
run_smokegen(1 "${smokegenArgs}") | ||
get_smokegen_output_files(smoketkxde_LIB_SRCS 1) | ||
get_smokegen_output_files(smoketkde_LIB_SRCS 1) | ||
|
||
set(CMAKE_CXX_FLAGS "-I${OpenCASCADE_INCLUDE_DIR} -I${CMAKE_CURRENT_SOURCE_DIR}") | ||
|
||
IF(CMAKE_CXX_FLAGS MATCHES "-fvisibility") | ||
ADD_DEFINITIONS(-DGCC_VISIBILITY) | ||
ENDIF(CMAKE_CXX_FLAGS MATCHES "-fvisibility") | ||
|
||
add_library(smoketkxde SHARED ${smoketkxde_LIB_SRCS}) | ||
add_library(smoketkde SHARED ${smoketkde_LIB_SRCS}) | ||
|
||
link_directories(${OpenCASCADE_LIBRARY_DIR}) | ||
|
||
target_link_libraries(smoketkxde | ||
target_link_libraries(smoketkde | ||
smoketkernel | ||
${OpenCASCADE_LIBRARIES} | ||
) | ||
|
||
set_target_properties(smoketkxde | ||
set_target_properties(smoketkde | ||
PROPERTIES | ||
VERSION ${OpenCASCADE_MAJOR_VERSION}.${OpenCASCADE_MINOR_VERSION}.${OpenCASCADE_MAINTENANCE_VERSION} | ||
SOVERSION ${OpenCASCADE_MAJOR_VERSION} | ||
CXX_STANDARD 14 | ||
) | ||
|
||
install(TARGETS smoketkxde LIBRARY DESTINATION ${LIB_INSTALL_DIR} | ||
install(TARGETS smoketkde LIBRARY DESTINATION ${LIB_INSTALL_DIR} | ||
ARCHIVE DESTINATION ${LIB_INSTALL_DIR} | ||
RUNTIME DESTINATION bin) | ||
|
||
if (WIN32) | ||
# Realign the stack, for compatibility with an older ABI. | ||
if (CMAKE_COMPILER_IS_GNUCXX) | ||
set_target_properties(smoketkxde PROPERTIES COMPILE_FLAGS -mstackrealign) | ||
set_target_properties(smoketkde PROPERTIES COMPILE_FLAGS -mstackrealign) | ||
endif() | ||
|
||
# Get rid of the "lib" prefix on archives/DLLs in Windows. | ||
set_target_properties(smoketkxde PROPERTIES PREFIX "" IMPORT_PREFIX "") | ||
set_target_properties(smoketkde PROPERTIES PREFIX "" IMPORT_PREFIX "") | ||
endif (WIN32) | ||
|
||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/../tkxde_smoke.h DESTINATION include/smoke) | ||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/tkxde.argnames.txt DESTINATION share/smoke) | ||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/tkxde.typedefs.txt DESTINATION share/smoke) | ||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/../tkde_smoke.h DESTINATION include/smoke) | ||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/tkde.argnames.txt DESTINATION share/smoke) | ||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/tkde.typedefs.txt DESTINATION share/smoke) | ||
|
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
create_configure_files("${OpenCASCADE_INCLUDE_DIR};${CMAKE_CURRENT_SOURCE_DIR}") | ||
get_smokegen_args(smokegenArgs tkdecascade) | ||
run_smokegen(1 "${smokegenArgs}") | ||
get_smokegen_output_files(smoketkdecascade_LIB_SRCS 1) | ||
|
||
set(CMAKE_CXX_FLAGS "-I${OpenCASCADE_INCLUDE_DIR} -I${CMAKE_CURRENT_SOURCE_DIR}") | ||
|
||
IF(CMAKE_CXX_FLAGS MATCHES "-fvisibility") | ||
ADD_DEFINITIONS(-DGCC_VISIBILITY) | ||
ENDIF(CMAKE_CXX_FLAGS MATCHES "-fvisibility") | ||
|
||
add_library(smoketkdecascade SHARED ${smoketkdecascade_LIB_SRCS}) | ||
|
||
link_directories(${OpenCASCADE_LIBRARY_DIR}) | ||
|
||
target_link_libraries(smoketkdecascade | ||
smoketkde | ||
smoketkxmlxcaf | ||
smoketkbinxcaf | ||
${OpenCASCADE_LIBRARIES} | ||
) | ||
|
||
set_target_properties(smoketkdecascade | ||
PROPERTIES | ||
VERSION ${OpenCASCADE_MAJOR_VERSION}.${OpenCASCADE_MINOR_VERSION}.${OpenCASCADE_MAINTENANCE_VERSION} | ||
SOVERSION ${OpenCASCADE_MAJOR_VERSION} | ||
CXX_STANDARD 14 | ||
) | ||
|
||
install(TARGETS smoketkdecascade LIBRARY DESTINATION ${LIB_INSTALL_DIR} | ||
ARCHIVE DESTINATION ${LIB_INSTALL_DIR} | ||
RUNTIME DESTINATION bin) | ||
|
||
if (WIN32) | ||
# Realign the stack, for compatibility with an older ABI. | ||
if (CMAKE_COMPILER_IS_GNUCXX) | ||
set_target_properties(smoketkdecascade PROPERTIES COMPILE_FLAGS -mstackrealign) | ||
endif() | ||
|
||
# Get rid of the "lib" prefix on archives/DLLs in Windows. | ||
set_target_properties(smoketkdecascade PROPERTIES PREFIX "" IMPORT_PREFIX "") | ||
endif (WIN32) | ||
|
||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/../tkdecascade_smoke.h DESTINATION include/smoke) | ||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/tkdecascade.argnames.txt DESTINATION share/smoke) | ||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/tkdecascade.typedefs.txt DESTINATION share/smoke) | ||
|
File renamed without changes.
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
File renamed without changes.
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,16 @@ | ||
#ifndef TKDECASCADE_SMOKE_H | ||
#define TKDECASCADE_SMOKE_H | ||
|
||
#include <smoke.h> | ||
|
||
// Defined in smokedata.cpp, initialized by init_tkxdecascade_Smoke(), used by all .cpp files | ||
extern "C" SMOKE_EXPORT Smoke* tkdecascade_Smoke; | ||
extern "C" SMOKE_EXPORT void init_tkdecascade_Smoke(); | ||
extern "C" SMOKE_EXPORT void delete_tkdecascade_Smoke(); | ||
|
||
#ifndef QGLOBALSPACE_CLASS | ||
#define QGLOBALSPACE_CLASS | ||
class QGlobalSpace { }; | ||
#endif | ||
|
||
#endif |
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,45 +1,45 @@ | ||
create_configure_files("${OpenCASCADE_INCLUDE_DIR};${CMAKE_CURRENT_SOURCE_DIR}") | ||
get_smokegen_args(smokegenArgs tkstep209) | ||
get_smokegen_args(smokegenArgs tkdegltf) | ||
run_smokegen(1 "${smokegenArgs}") | ||
get_smokegen_output_files(smoketkstep209_LIB_SRCS 1) | ||
get_smokegen_output_files(smoketkdegltf_LIB_SRCS 1) | ||
|
||
set(CMAKE_CXX_FLAGS "-I${OpenCASCADE_INCLUDE_DIR} -I${CMAKE_CURRENT_SOURCE_DIR}") | ||
|
||
IF(CMAKE_CXX_FLAGS MATCHES "-fvisibility") | ||
ADD_DEFINITIONS(-DGCC_VISIBILITY) | ||
ENDIF(CMAKE_CXX_FLAGS MATCHES "-fvisibility") | ||
|
||
add_library(smoketkstep209 SHARED ${smoketkstep209_LIB_SRCS}) | ||
add_library(smoketkdegltf SHARED ${smoketkdegltf_LIB_SRCS}) | ||
|
||
link_directories(${OpenCASCADE_LIBRARY_DIR}) | ||
|
||
target_link_libraries(smoketkstep209 | ||
smoketkstepbase | ||
target_link_libraries(smoketkdegltf | ||
smoketkrwmesh | ||
${OpenCASCADE_LIBRARIES} | ||
) | ||
|
||
set_target_properties(smoketkstep209 | ||
set_target_properties(smoketkdegltf | ||
PROPERTIES | ||
VERSION ${OpenCASCADE_MAJOR_VERSION}.${OpenCASCADE_MINOR_VERSION}.${OpenCASCADE_MAINTENANCE_VERSION} | ||
SOVERSION ${OpenCASCADE_MAJOR_VERSION} | ||
CXX_STANDARD 14 | ||
) | ||
|
||
install(TARGETS smoketkstep209 LIBRARY DESTINATION ${LIB_INSTALL_DIR} | ||
install(TARGETS smoketkdegltf LIBRARY DESTINATION ${LIB_INSTALL_DIR} | ||
ARCHIVE DESTINATION ${LIB_INSTALL_DIR} | ||
RUNTIME DESTINATION bin) | ||
|
||
if (WIN32) | ||
# Realign the stack, for compatibility with an older ABI. | ||
if (CMAKE_COMPILER_IS_GNUCXX) | ||
set_target_properties(smoketkstep209 PROPERTIES COMPILE_FLAGS -mstackrealign) | ||
set_target_properties(smoketkdegltf PROPERTIES COMPILE_FLAGS -mstackrealign) | ||
endif() | ||
|
||
# Get rid of the "lib" prefix on archives/DLLs in Windows. | ||
set_target_properties(smoketkstep209 PROPERTIES PREFIX "" IMPORT_PREFIX "") | ||
set_target_properties(smoketkdegltf PROPERTIES PREFIX "" IMPORT_PREFIX "") | ||
endif (WIN32) | ||
|
||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/../tkstep209_smoke.h DESTINATION include/smoke) | ||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/tkstep209.argnames.txt DESTINATION share/smoke) | ||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/tkstep209.typedefs.txt DESTINATION share/smoke) | ||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/../tkdegltf_smoke.h DESTINATION include/smoke) | ||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/tkdegltf.argnames.txt DESTINATION share/smoke) | ||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/tkdegltf.typedefs.txt DESTINATION share/smoke) | ||
|
File renamed without changes.
Oops, something went wrong.