https://github.com/stiffstream/sobjectizer-fetchcontent-demo
Example of adding SObjectizer to a project via CMake's FetchContent
https://github.com/stiffstream/sobjectizer-fetchcontent-demo
Last synced: 8 months ago
JSON representation
Example of adding SObjectizer to a project via CMake's FetchContent
- Host: GitHub
- URL: https://github.com/stiffstream/sobjectizer-fetchcontent-demo
- Owner: Stiffstream
- License: mit
- Created: 2022-06-26T07:27:52.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-26T07:39:15.000Z (about 4 years ago)
- Last Synced: 2024-12-28T11:28:14.985Z (over 1 year ago)
- Language: C++
- Size: 2.93 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
How to build:
```sh
git clone https://github.com/stiffstream/sobjectizer-fetchcontent-demo
cd sobjectizer-fetchcontent-demo
mkdir cmake_build
cd cmake_build
cmake -DCMAKE_INSTALL_PREFIX=target ..
cmake --build . --config Release --target install
./target/bin/sample.so_5.hello_world
```
**ATTENTION**. SObjectizer will be built as a static library. If it's built as shared library then SObjectizer's shared library won't be copied to the appropriate location during install step. It's unknown why. Any help on this topic will be appriciated.