File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,6 @@ FetchContent_MakeAvailable(tracy)
86
86
87
87
####################################################################################################
88
88
89
-
90
89
if (NOT TARGET TBB::tbb)
91
90
message (STATUS "ORC third-party: creating target 'TBB::tbb'..." )
92
91
FetchContent_Declare(
@@ -127,6 +126,17 @@ add_executable(orc_dogfood
127
126
add_executable (orc::dogfood ALIAS orc_dogfood)
128
127
set_target_properties (orc_dogfood PROPERTIES OUTPUT_NAME "orc_dogfood" )
129
128
129
+ #
130
+ # These are toggleable within Xcode's scheme editor, and will override any
131
+ # found orc_config files. This way developers can set up ORC for
132
+ # development/debugging without having to change the orc_config file.
133
+ #
134
+ if (PROJECT_IS_TOP_LEVEL)
135
+ if (CMAKE_GENERATOR MATCHES "Xcode" )
136
+ set_property (TARGET orc_orc PROPERTY XCODE_SCHEME_ENVIRONMENT "ORC_PARALLEL_PROCESSING=0;ORC_STANDALONE_MODE=1" )
137
+ endif ()
138
+ endif ()
139
+
130
140
foreach (_TARGET_NAME IN ITEMS orc_orc orc_dogfood)
131
141
132
142
if (PROJECT_IS_TOP_LEVEL)
You can’t perform that action at this time.
0 commit comments