-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor CMake: Option names, use CMAKE_CUDA_ARCHITECTURES, general i…
…mprovments + Adds top-level CMakeLists.txt detection to the root CMakeLists.txt + Prefixes CMake options / CACHE variables with FLAMEGPU_ to cooperate with others, including: + BUILD_EXAMPLE_<example> -> FLAMEGPU_BUILD_EXAMPLE_<example> as dependent options + FLAMEPGU_BUILD_ALL_EXAMPLES -> FLAMEGPU_BUILD_ALL_EXAMPLES + Defaults to ON only if the main FLAMEGPU CMakeLists is the top level, removing the need for NO_EXAMPLES + BUILD_SWIG_PYTHON -> FLAMEPGU_BUILD_PYTHON + USE_NVTX -> FLAMEGPU_ENABLE_NVTX + USE_GLM -> FLAMEGPU_ENABLE_GLM + CURAND_ENGINE -> FLAMEGPU_CURAND_ENGINE, including a dropdown in the GUI + Removes USE_NVCC_THREADS + NVCC_THREADS -> FLAMEGPU_NVCC_THREADS which defaults to 2, and handles being set to OFF correctly. + VERBOSE_PTXAS -> FLAMEGPU_VERBOSE_PTXAS + BUILD_TESTS -> FLAMEGPU_BUILD_TESTS + BUILD_TESTS_DEV -> FLAMEGPU_BUILD_TESTS_DEV + EXPORT_RTC_SOURCES -> FLAMEGPU_RTC_EXPORT_SOURCES + RTC_DISK_CACHE -> FLAMEGPU_RTC_DISK_CACHE + WARNINGS_AS_ERRORS -> FLAMEGPU_WARNINGS_AS_ERRORS + SEATBELTS -> FLAMEGPU_SEATBELTS + BUILD_API_DOCUMENTATION -> FLAMEGPU_BUILD_API_DOCUMENTATION + VISUALIASTION -> FLAMEGPU_VISUSALISATION + And associated sub-optons FLAMEGPU_VISUALISATION_ROOT etc. + USE_GTEST_DISCOVER -> FLAMEGPU_ENABLE_GTEST_DISCOVER + Switch to CMAKE_CUDA_ARCHITECTURES from CUDA_ARCH with custom default setting + Mark many CMake Cache varaibles as advanced to exclude them from the default CMake GUI + Improves cpplint CMake logic + Move definition location of some CMake options, so they are pulled into individual examples + Prefix Cmake functions and macros with flamegpu_ and rename to all lower case, including: + add_flamegpu_executable -> flamegpu_add_executable + Use target-specific c++17 specification + Correct cmake_minimum_required statements and add a <polciy_max> of 3.25 + Modernise GLM CMake + De-duplicate compiler definition for the pyflamegpu target, using properties from the flamegpu target + Reduce use of cmake variables from the visualiser CMake, instead request a list of (dll) files to copy is needed + Move flamegpu target specific compiler definitions into private/public target properties + Prefix flamegpu compiler definitions with FLAMEGPU_ + SEATBELTS -> FLAMEGPU_SEATBELTS + VISUASLIATION -> FLAMEGPU_VISUSALISATION + CURAND_<X>->FLAMEGPU_CURAND_<X> + USE_GLM -> FLAMEGPU_USE_GLM + USE_GLM_PATH -> FLAMEGPU_USE_GLM_PATH + DISABLE_RTC_DISK_CACHE -> FLAMEGPU_DISABLE_RTC_DISK_CACHE + OUTPUT_RTC_DYNAMIC_FILES -> FLAMEGPU_OUTPUT_RTC_DYNAMIC_FILES + Updates the visualisation repository hash
- Loading branch information
Showing
144 changed files
with
1,897 additions
and
1,608 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
Oops, something went wrong.