build on mac
sansomcz opened this issue · 3 comments
Hi,
I try to made a build on macbook (MacOS Ventrua 13.2) but I finished on:
build % cmake -DCMAKE_TOOLCHAIN_FILE=../upp_cmake/utils/toolchain-clang.cmake .. && make
-- Extra compilation flags:
-- Extra link flags:
-- Build compilation: 64 bits
-- Build type: RELEASE
-- Build with remove unused code: FALSE
-- Build with flagSHARED: TRUE
-- Build with flagPCH: FALSE
-- initialize flag flagGUI
-- initialize flag flagMT
-- initialize flag flagGCC
-- initialize flag flagGNUC14
-- initialize flag flagMP
-- initialize flag flagSHARED
-- initialize flag flagPOSIX
-- initialize flag flagOSX
-- initialize flag _RELEASE
-- initialize flag flagRELEASE
-- Project compilation flags: -m64 -O2
-- Could NOT find Subversion (missing: Subversion_SVN_EXECUTABLE)
CMake Error at CMakeLists.txt:828 (set_target_properties):
set_target_properties called with incorrect number of arguments.
-- Configuring incomplete, errors occurred!
See also "/Users/xxx/rajce/build/CMakeFiles/CMakeOutput.log".
See also "/Users/xxx/rajce/build/CMakeFiles/CMakeError.log".
Also directory CMakeFiles is empty (so no log).
Its possible to solve it somehow, or I cant build it on Mac?
Thanks for help.
Hi, to be honest I don't know if it can be compiled under the Mac. It could work, but I haven't tried it. And I don't even have a way to test it.
What are your build commands?
Exactly your suggested way :)
git clone https://github.com/CoolmanCZ/rajce.git
cd rajce
git submodule update --init --recursive
./GenerateCMakeFiles.sh
mkdir -p build
cd build
cmake .. && make
Only last command was problem, I have to instal homebrew and cmake through it.
I see, but this is for the Linux compilation. As I already wrote, I don't have MacOS at my disposal and I don't have any experience with compiling on this OS. There are probably some other components missing for a successful build.