From eee53bcfd31acc515eaeeb2a3797bc485354cd3a Mon Sep 17 00:00:00 2001 From: mklefrancois <38076163+mklefrancois@users.noreply.github.com> Date: Tue, 24 Nov 2020 16:26:50 +0100 Subject: [PATCH] Adding more project #defines --- ray_tracing__advance/CMakeLists.txt | 2 +- ray_tracing__before/CMakeLists.txt | 2 +- ray_tracing__simple/CMakeLists.txt | 2 +- ray_tracing_animation/CMakeLists.txt | 2 +- ray_tracing_anyhit/CMakeLists.txt | 2 +- ray_tracing_callable/CMakeLists.txt | 2 +- ray_tracing_gltf/CMakeLists.txt | 2 +- ray_tracing_instances/CMakeLists.txt | 2 +- ray_tracing_intersection/CMakeLists.txt | 2 +- ray_tracing_jitter_cam/CMakeLists.txt | 2 +- ray_tracing_manyhits/CMakeLists.txt | 2 +- ray_tracing_rayquery/CMakeLists.txt | 2 +- ray_tracing_reflections/CMakeLists.txt | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/ray_tracing__advance/CMakeLists.txt b/ray_tracing__advance/CMakeLists.txt index 3d537a1..742d51e 100644 --- a/ray_tracing__advance/CMakeLists.txt +++ b/ray_tracing__advance/CMakeLists.txt @@ -17,7 +17,7 @@ message(STATUS "Processing Project ${PROJNAME}:") # C++ target and defines set(CMAKE_CXX_STANDARD 17) add_executable(${PROJNAME}) -target_compile_definitions(${PROJNAME} PUBLIC PROJECT_NAME="${PROJNAME}") +_add_project_definitions(${PROJNAME}) #-------------------------------------------------------------------------------------------------- diff --git a/ray_tracing__before/CMakeLists.txt b/ray_tracing__before/CMakeLists.txt index 316f8df..3af5a69 100644 --- a/ray_tracing__before/CMakeLists.txt +++ b/ray_tracing__before/CMakeLists.txt @@ -17,7 +17,7 @@ message(STATUS "Processing Project ${PROJNAME}:") # C++ target and defines set(CMAKE_CXX_STANDARD 17) add_executable(${PROJNAME}) -target_compile_definitions(${PROJNAME} PUBLIC PROJECT_NAME="${PROJNAME}") +_add_project_definitions(${PROJNAME}) #-------------------------------------------------------------------------------------------------- diff --git a/ray_tracing__simple/CMakeLists.txt b/ray_tracing__simple/CMakeLists.txt index c374896..7b57615 100644 --- a/ray_tracing__simple/CMakeLists.txt +++ b/ray_tracing__simple/CMakeLists.txt @@ -17,7 +17,7 @@ message(STATUS "Processing Project ${PROJNAME}:") # C++ target and defines set(CMAKE_CXX_STANDARD 17) add_executable(${PROJNAME}) -target_compile_definitions(${PROJNAME} PUBLIC PROJECT_NAME="${PROJNAME}") +_add_project_definitions(${PROJNAME}) #-------------------------------------------------------------------------------------------------- diff --git a/ray_tracing_animation/CMakeLists.txt b/ray_tracing_animation/CMakeLists.txt index c374896..7b57615 100644 --- a/ray_tracing_animation/CMakeLists.txt +++ b/ray_tracing_animation/CMakeLists.txt @@ -17,7 +17,7 @@ message(STATUS "Processing Project ${PROJNAME}:") # C++ target and defines set(CMAKE_CXX_STANDARD 17) add_executable(${PROJNAME}) -target_compile_definitions(${PROJNAME} PUBLIC PROJECT_NAME="${PROJNAME}") +_add_project_definitions(${PROJNAME}) #-------------------------------------------------------------------------------------------------- diff --git a/ray_tracing_anyhit/CMakeLists.txt b/ray_tracing_anyhit/CMakeLists.txt index c374896..7b57615 100644 --- a/ray_tracing_anyhit/CMakeLists.txt +++ b/ray_tracing_anyhit/CMakeLists.txt @@ -17,7 +17,7 @@ message(STATUS "Processing Project ${PROJNAME}:") # C++ target and defines set(CMAKE_CXX_STANDARD 17) add_executable(${PROJNAME}) -target_compile_definitions(${PROJNAME} PUBLIC PROJECT_NAME="${PROJNAME}") +_add_project_definitions(${PROJNAME}) #-------------------------------------------------------------------------------------------------- diff --git a/ray_tracing_callable/CMakeLists.txt b/ray_tracing_callable/CMakeLists.txt index c374896..7b57615 100644 --- a/ray_tracing_callable/CMakeLists.txt +++ b/ray_tracing_callable/CMakeLists.txt @@ -17,7 +17,7 @@ message(STATUS "Processing Project ${PROJNAME}:") # C++ target and defines set(CMAKE_CXX_STANDARD 17) add_executable(${PROJNAME}) -target_compile_definitions(${PROJNAME} PUBLIC PROJECT_NAME="${PROJNAME}") +_add_project_definitions(${PROJNAME}) #-------------------------------------------------------------------------------------------------- diff --git a/ray_tracing_gltf/CMakeLists.txt b/ray_tracing_gltf/CMakeLists.txt index c374896..7b57615 100644 --- a/ray_tracing_gltf/CMakeLists.txt +++ b/ray_tracing_gltf/CMakeLists.txt @@ -17,7 +17,7 @@ message(STATUS "Processing Project ${PROJNAME}:") # C++ target and defines set(CMAKE_CXX_STANDARD 17) add_executable(${PROJNAME}) -target_compile_definitions(${PROJNAME} PUBLIC PROJECT_NAME="${PROJNAME}") +_add_project_definitions(${PROJNAME}) #-------------------------------------------------------------------------------------------------- diff --git a/ray_tracing_instances/CMakeLists.txt b/ray_tracing_instances/CMakeLists.txt index c374896..7b57615 100644 --- a/ray_tracing_instances/CMakeLists.txt +++ b/ray_tracing_instances/CMakeLists.txt @@ -17,7 +17,7 @@ message(STATUS "Processing Project ${PROJNAME}:") # C++ target and defines set(CMAKE_CXX_STANDARD 17) add_executable(${PROJNAME}) -target_compile_definitions(${PROJNAME} PUBLIC PROJECT_NAME="${PROJNAME}") +_add_project_definitions(${PROJNAME}) #-------------------------------------------------------------------------------------------------- diff --git a/ray_tracing_intersection/CMakeLists.txt b/ray_tracing_intersection/CMakeLists.txt index c374896..7b57615 100644 --- a/ray_tracing_intersection/CMakeLists.txt +++ b/ray_tracing_intersection/CMakeLists.txt @@ -17,7 +17,7 @@ message(STATUS "Processing Project ${PROJNAME}:") # C++ target and defines set(CMAKE_CXX_STANDARD 17) add_executable(${PROJNAME}) -target_compile_definitions(${PROJNAME} PUBLIC PROJECT_NAME="${PROJNAME}") +_add_project_definitions(${PROJNAME}) #-------------------------------------------------------------------------------------------------- diff --git a/ray_tracing_jitter_cam/CMakeLists.txt b/ray_tracing_jitter_cam/CMakeLists.txt index c374896..7b57615 100644 --- a/ray_tracing_jitter_cam/CMakeLists.txt +++ b/ray_tracing_jitter_cam/CMakeLists.txt @@ -17,7 +17,7 @@ message(STATUS "Processing Project ${PROJNAME}:") # C++ target and defines set(CMAKE_CXX_STANDARD 17) add_executable(${PROJNAME}) -target_compile_definitions(${PROJNAME} PUBLIC PROJECT_NAME="${PROJNAME}") +_add_project_definitions(${PROJNAME}) #-------------------------------------------------------------------------------------------------- diff --git a/ray_tracing_manyhits/CMakeLists.txt b/ray_tracing_manyhits/CMakeLists.txt index c374896..7b57615 100644 --- a/ray_tracing_manyhits/CMakeLists.txt +++ b/ray_tracing_manyhits/CMakeLists.txt @@ -17,7 +17,7 @@ message(STATUS "Processing Project ${PROJNAME}:") # C++ target and defines set(CMAKE_CXX_STANDARD 17) add_executable(${PROJNAME}) -target_compile_definitions(${PROJNAME} PUBLIC PROJECT_NAME="${PROJNAME}") +_add_project_definitions(${PROJNAME}) #-------------------------------------------------------------------------------------------------- diff --git a/ray_tracing_rayquery/CMakeLists.txt b/ray_tracing_rayquery/CMakeLists.txt index c374896..7b57615 100644 --- a/ray_tracing_rayquery/CMakeLists.txt +++ b/ray_tracing_rayquery/CMakeLists.txt @@ -17,7 +17,7 @@ message(STATUS "Processing Project ${PROJNAME}:") # C++ target and defines set(CMAKE_CXX_STANDARD 17) add_executable(${PROJNAME}) -target_compile_definitions(${PROJNAME} PUBLIC PROJECT_NAME="${PROJNAME}") +_add_project_definitions(${PROJNAME}) #-------------------------------------------------------------------------------------------------- diff --git a/ray_tracing_reflections/CMakeLists.txt b/ray_tracing_reflections/CMakeLists.txt index c374896..7b57615 100644 --- a/ray_tracing_reflections/CMakeLists.txt +++ b/ray_tracing_reflections/CMakeLists.txt @@ -17,7 +17,7 @@ message(STATUS "Processing Project ${PROJNAME}:") # C++ target and defines set(CMAKE_CXX_STANDARD 17) add_executable(${PROJNAME}) -target_compile_definitions(${PROJNAME} PUBLIC PROJECT_NAME="${PROJNAME}") +_add_project_definitions(${PROJNAME}) #--------------------------------------------------------------------------------------------------