Adds Config.h generated file

Gives us the install path and FEXInterpreter locations
This commit is contained in:
Ryan Houdek committed 2021-03-23 19:12:18 -07:00
1 parent 82c2b49a2e
commit afa869e1f2
2 files changed
+8

No files matched your search

+4
View File
@@ -234,6 +234,10 @@ endif()
add_compile_options(-Wall)
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/include/Config.h.in
${CMAKE_BINARY_DIR}/generated/Config.h)
if (BUILD_TESTS)
include(CTest)
enable_testing()
+4
View File
@@ -0,0 +1,4 @@
#pragma once
#define FEX_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@"
#define FEXINTERPRETER_PATH FEX_INSTALL_PREFIX "/bin/FEXInterpreter"