File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- INCLUDE_DIRECTORIES (${ROSS_SOURCE_DIR} ${ROSS_BINARY_DIR} )
1
+ INCLUDE_DIRECTORIES (${ROSS_SOURCE_DIR} ${ROSS_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
2
2
3
3
## NP
4
4
@@ -60,7 +60,7 @@ MATH(EXPR _xlp "${_ng} - (${_nlp} * ${_np})")
60
60
61
61
# write the header with variables
62
62
MESSAGE ("configure_file\n\t ngates = ${_ngates} \n\t line length = ${_ll} \n\t fanout = ${_fanout} \n\t np = ${_np} \n\t nlp = ${_nlp} \n\t xlp = ${_xlp} " )
63
- CONFIGURE_FILE (${CMAKE_CURRENT_SOURCE_DIR} /run_config.h.in ${CMAKE_CURRENT_SOURCE_DIR } /run_config.h @ONLY )
63
+ CONFIGURE_FILE (${CMAKE_CURRENT_SOURCE_DIR} /run_config.h.in ${CMAKE_CURRENT_BINARY_DIR } /run_config.h @ONLY )
64
64
65
65
SET (gates_srcs
66
66
gates_main.c
@@ -71,9 +71,9 @@ SET(gates_srcs
71
71
)
72
72
73
73
SET_SOURCE_FILES_PROPERTIES (${CMAKE_CURRENT_SOURCE_DIR} /run_config.h.in PROPERTIES GENERATED false )
74
- SET_SOURCE_FILES_PROPERTIES (${CMAKE_CURRENT_SOURCE_DIR } /run_config.h PROPERTIES GENERATED true )
74
+ SET_SOURCE_FILES_PROPERTIES (${CMAKE_CURRENT_BINARY_DIR } /run_config.h PROPERTIES GENERATED true )
75
75
76
- ADD_EXECUTABLE (gates ${gates_srcs} ${CMAKE_CURRENT_SOURCE_DIR } /run_config.h )
76
+ ADD_EXECUTABLE (gates ${gates_srcs} ${CMAKE_CURRENT_BINARY_DIR } /run_config.h )
77
77
78
78
TARGET_LINK_LIBRARIES (gates ROSS m )
79
79
You can’t perform that action at this time.
0 commit comments