Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
rapid-mix
RAPID-MIX_API
Commits
bef2bed1
Commit
bef2bed1
authored
Dec 06, 2017
by
mzed
Browse files
Adding helloRapidMix to CMake
parent
6be877e6
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
bef2bed1
...
...
@@ -93,13 +93,16 @@ add_library(RAPID-MIX_API SHARED ${RAPIDMIX_FULL_SRC})
add_executable
(
rapidmixTest tests/rapidMixTest.cpp
)
add_executable
(
helloRapidMix
${
PROJECT_SOURCE_DIR
}
/examples/HelloRapidMix/HelloRapidMix/main.cpp
)
if
(
APPLE
)
find_library
(
ACCELERATE Accelerate
)
if
(
NOT ACCELERATE
)
message
(
FATAL_ERROR
"Accelearate not found"
)
endif
()
target_link_libraries
(
RAPID-MIX_API
${
ACCELERATE
}
)
target_link_libraries
(
rapidmixTest RAPID-MIX_API
)
else
()
target_link_libraries
(
rapidmixTest RAPID-MIX_API
)
endif
()
target_link_libraries
(
RAPID-MIX_API
${
ACCELERATE
}
)
endif
()
target_link_libraries
(
rapidmixTest RAPID-MIX_API
)
target_link_libraries
(
helloRapidMix RAPID-MIX_API
)
examples/HelloRapidMix/HelloRapidMix.xcodeproj/project.pbxproj
View file @
bef2bed1
This diff is collapsed.
Click to expand it.
rmix_build_test.sh
View file @
bef2bed1
...
...
@@ -9,4 +9,5 @@ mkdir build
cd
build
cmake ..
make
./rapidmixTest
\ No newline at end of file
./rapidmixTest
cp
./helloRapidMix ../examples/HelloRapidMix/helloRapidMix
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment