Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode project for OS X #7

Closed
BruceCB opened this issue Feb 6, 2016 · 3 comments
Closed

Xcode project for OS X #7

BruceCB opened this issue Feb 6, 2016 · 3 comments
Milestone

Comments

@BruceCB
Copy link

BruceCB commented Feb 6, 2016

Could you drop this in the src dir. It could help people build the library on Macs.
charLS.xcodeproj.zip

@vbaderks
Copy link
Contributor

vbaderks commented Feb 6, 2016

Hi Bruce,

CharLS currently provides a cmakelists.txt file. This file can be used to generate XCode projects files:

For example:

mkdir xcode

cd xcode
cmake -G "Xcode" ..

It is still on my todo list to copy the build instructions from codeplex to github and I haven't checked if this solution works for the Mac\Xcode.

Adding the xcodeproj file to the source code requires that it is maintained when files are modified (new files, renames, etc.). My preference is to use the CMakelists.txt method and a CI server to ensure the source code can be build on all supported platforms.

Would the CMake alternative a good solution to build CharLS on a Mac environment?

@BruceCB
Copy link
Author

BruceCB commented Feb 7, 2016

Hi Victor

.xcodeproj is very similar to the Windows .vcxproj. In Xcode, if you change a file name, it will turn red in the project and all I have to do is drag and drop the new file. I have Cmake installed on my virtual Windows machine, but I have not had to install it on the MAC side yet.

Regards,
Bruce
On Feb 6, 2016, at 2:57 PM, Victor Derks notifications@github.com wrote:

Hi Bruce,

CharLS currently provides a cmakelists.txt file. This file can be used to generate XCode projects files:

For example:

mkdir xcode

cd xcode
cmake -G "Xcode" ..

It is still on my todo list to copy the build instructions from codeplex to github and I haven't checked if this solution works for the Mac\Xcode.

Adding the xcodeproj file to the source code requires that it is maintained when files are modified (new files, renames, etc.). My preference is to use the CMakelists.txt method and a CI server to ensure the source code can be build on all supported platforms.

Would the CMake alternative a good solution to build CharLS on a Mac environment?


Reply to this email directly or view it on GitHub.

@vbaderks vbaderks added this to the 2.1.0 milestone Oct 3, 2017
@vbaderks vbaderks modified the milestones: 2.1.0, 3.0.0 Oct 14, 2017
@vbaderks
Copy link
Contributor

The procedure to build CharLS with Xcode (tested with Xcode 11.3) has been documented in the Wiki:
https://github.com/team-charls/charls/wiki/Building-CharLS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants