-
Notifications
You must be signed in to change notification settings - Fork 0
Development
J.P. Hutchins edited this page Apr 27, 2020
·
3 revisions
- CSS and "vanilla" JavaScript ES6
- library_finder/library_explorer/style.css
- library_finder/library_explorer/script.js
None. library_explorer.html should be able to run on a computer without internet.
- Use the library_explorer.html at library_finder/library_explorer/library_explorer.html
- Or compile a development binary to create a new development mode HTML file
- Or remove the inline CSS and JS from any library_explorer.html file and replace with reference to the local CSS and JS files.
- To include changes to the the JS and CSS you will need to run the python script at the root of the project
python pre_compile_scipt.py
before compiling the new binary.- This script converts the CSS and JS into raw string literals for easy inclusion in library_finder.cpp
- Microsoft has imposed a ~16K character limit on string literals so the python script breaks the JS into 4 separate files.
- library_finder/library_finder/library_finder.cpp
- library_finder/library_finder/library_finder.h
Windows will need dirent.h
- 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)