Skip to content

Commit 2be5832

Browse files
Default profile creation making sure a profile is setup (#339)
Based on issue [issue](#309 (comment) ), we added changes to README.md while installing. --------- Co-authored-by: Thomas Alexander <[email protected]>
1 parent 671679e commit 2be5832

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ To build:
3636
2. Install Python dependencies: `pip install -r requirements-dev.txt`
3737
3. Export local Conan recipe dependencies to Conan: `./conan_deps.sh`
3838
4. `mkdir build && cd build`
39-
5. Install Conan dependencies: `conan install .. --build=outdated -pr:h default -pr:b default`
40-
6. Invoke the build with Conan: `conan build ..`. This will build the compiler.
41-
7. To run tests: `conan build .. --test`
39+
5. If installing Conan for the first time, create a new profile `conan profile new default --detect`
40+
6. Install Conan dependencies: `conan install .. --build=outdated -pr:h default -pr:b default`
41+
7. Invoke the build with Conan: `conan build ..`. This will build the compiler.
42+
8. To run tests: `conan build .. --test`
4243

4344
Alternatively instead of steps 6/7, you can build directly with CMake (also from within the build folder):
4445
1. Configure - `cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE="Release" ..`

0 commit comments

Comments
 (0)