Skip to content

Commit

Permalink
more robust win32 directory finding?
Browse files Browse the repository at this point in the history
  • Loading branch information
royshil committed Mar 7, 2012
1 parent a68a8fc commit a5c3db2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion firebreath-plugin/Win/projectDef.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ add_windows_plugin(${PROJECT_NAME} SOURCES)

add_dependencies(${PROJECT_NAME} simple_templater)

get_filename_component(CMAKE_CURRENT_LIST_DIR ${CMAKE_CURRENT_LIST_FILE} PATH)
add_custom_command(TARGET ${PROJECT_NAME}
POST_BUILD
COMMAND copy_binary_win32.bat ${CMAKE_CFG_INTDIR}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
WORKING_DIRECTORY "${CMAKE_CURRENT_LIST_DIR}/../"
)

# This is an example of how to add a build step to sign the plugin DLL before
Expand Down

0 comments on commit a5c3db2

Please sign in to comment.