-
Notifications
You must be signed in to change notification settings - Fork 0
Compile
Note: if you have made changes to the frontend (library_finder/library_explorer) then you need to run the python script at the root of the project: python pre_compile_script.py
Note: if you are building a version where you want to use the actual source CSS and JS files set DEVELOPMENT = true
in library.cpp and make sure to also include the CSS and JS -I ./library_explorer/src
- Get the latest source code:
git clone https://www.github.com/JPHutchins/library_finder
- Move to source directory:
cd library_finder/src
- Compile:
g++ -o library_finder -I ./ -I ./library_explorer/strings -I ./library_explorer/src -O3 library_finder.cpp
- Get the latest source code:
git clone https://www.github.com/JPHutchins/library_finder
- Move to source directory:
cd library_finder/src
- Compile:
clang++ -o library_finder -std=c++0x -I ./ -I ./library_explorer/strings -I ./library_explorer/src -O3 library_finder.cpp
dirent.h is included in the folder src/windows-dependencies
- Get the latest source code:
git clone https://www.github.com/JPHutchins/library_finder
From Solution Explorer, drop down library_finder and open library_finder.cpp Drop down Project and select library_finder Properties Under Configuration Properties->General, under Projec Defaults, verify that Configuration Type is set to Application (.exe)
Complete the steps above but verify that Configuraiton Type is set to Static library (.lib)