mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 10:00:16 +02:00
Adds Config.h generated file
Gives us the install path and FEXInterpreter locations
This commit is contained in:
1 parent
82c2b49a2e
commit
afa869e1f2
2 files changed
+8
No files matched your search
@@ -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()
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
#pragma once
|
||||
|
||||
#define FEX_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@"
|
||||
#define FEXINTERPRETER_PATH FEX_INSTALL_PREFIX "/bin/FEXInterpreter"
|
||||
Reference in new issue
Block a user